-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
76 lines (76 loc) · 2.08 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
{
"name": "@esri/arcgis-html-sanitizer",
"version": "4.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 --bundleConfigAsCjs && 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": "^25.0.8",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-replace": "^5.0.5",
"@rollup/plugin-typescript": "^11.1.6",
"@types/jest": "^29.5.12",
"jest": "^29.7.0",
"rimraf": "^5.0.7",
"rollup": "^4.18.0",
"rollup-plugin-terser": "^7.0.2",
"ts-jest": "^29.1.4",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.18.0",
"tslint-config-standard": "^9.0.0",
"typescript": "^5.4.5"
},
"publishConfig": {
"access": "public"
},
"packageManager": "yarn@1.22.19+sha1.4ba7fc5c6e704fce2066ecbfb0b0d8976fe62447",
"engines": {
"node": ">=18.0.0"
}
}