1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- {
- "name": "@esri/arcgis-html-sanitizer",
- "version": "2.10.0",
- "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": {
- "lodash.isplainobject": "^4.0.6",
- "xss": "^1.0.11"
- },
- "devDependencies": {
- "@rollup/plugin-commonjs": "^21.0.2",
- "@rollup/plugin-node-resolve": "^13.1.3",
- "@rollup/plugin-replace": "^4.0.0",
- "@rollup/plugin-typescript": "^8.3.1",
- "@types/jest": "^27.4.1",
- "@types/lodash.isplainobject": "^4.0.6",
- "jest": "^27.5.1",
- "rimraf": "^3.0.2",
- "rollup": "^2.70.1",
- "rollup-plugin-terser": "^7.0.2",
- "ts-jest": "^27.1.3",
- "tslint": "^6.1.3",
- "tslint-config-prettier": "^1.18.0",
- "tslint-config-standard": "^9.0.0",
- "typescript": "^4.6.2"
- },
- "publishConfig": {
- "access": "public"
- }
- }
|