123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- {
- "name": "@esri/arcgis-html-sanitizer",
- "version": "3.0.1",
- "description": "A simple utility to sanitize a string according to ArcGIS supported HTML specification.",
- "main": "dist/node/index.js",
- "module": "dist/esm/index.js",
- "files": [
- "dist/**",
- "CODE_OF_CONDUCT.md",
- "CONTRIBUTING.md",
- "LICENSE"
- ],
- "repository": "https://github.com/Esri/arcgis-html-sanitizer.git",
- "bugs": {
- "url": "https://github.com/Esri/arcgis-html-sanitizer/issues"
- },
- "homepage": "https://github.com/Esri/arcgis-html-sanitizer#readme",
- "author": "Esri",
- "license": "Apache-2.0",
- "scripts": {
- "build": "rimraf dist && rollup -c && yarn run build:dts",
- "build:dts": "tsc -p tsconfig-decl.json --outDir dist/esm && tsc -p tsconfig-decl.json --outDir dist/node",
- "lint": "tslint --project tsconfig.json",
- "lint:fix": "tslint --project tsconfig.json --fix",
- "test": "jest --coverage",
- "test:watch": "jest --coverage --watch"
- },
- "jest": {
- "coverageThreshold": {
- "global": {
- "branches": 100,
- "functions": 100,
- "lines": 100,
- "statements": 100
- }
- },
- "transform": {
- "^.+\\.tsx?$": "ts-jest"
- },
- "testRegex": "(/__tests__/.*|(\\.|/)(test))\\.(jsx?|tsx?)$",
- "moduleFileExtensions": [
- "ts",
- "tsx",
- "js",
- "jsx",
- "json",
- "node"
- ]
- },
- "dependencies": {
- "xss": "1.0.13"
- },
- "devDependencies": {
- "@rollup/plugin-commonjs": "^22.0.2",
- "@rollup/plugin-node-resolve": "^13.3.0",
- "@rollup/plugin-replace": "^4.0.0",
- "@rollup/plugin-typescript": "^8.3.4",
- "@types/jest": "^28.1.7",
- "jest": "^28.1.3",
- "rimraf": "^3.0.2",
- "rollup": "^2.78.1",
- "rollup-plugin-terser": "^7.0.2",
- "ts-jest": "^28.0.8",
- "tslint": "^6.1.3",
- "tslint-config-prettier": "^1.18.0",
- "tslint-config-standard": "^9.0.0",
- "typescript": "^4.7.4"
- },
- "publishConfig": {
- "access": "public"
- }
- }
|