-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathpackage.json
More file actions
59 lines (59 loc) · 1.79 KB
/
Copy pathpackage.json
File metadata and controls
59 lines (59 loc) · 1.79 KB
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
{
"name": "safevalues",
"version": "1.2.0",
"description": "Safe builders for Trusted Types values",
"repository": "https://github.com/google/safevalues",
"author": "ISE Web Hardening Team",
"license": "Apache-2.0",
"publishConfig":{
"registry":"https://wombat-dressing-room.appspot.com"
},
"main": "dist/cjs/index.js",
"module": "dist/mjs/index.js",
"types": "dist/mjs/index.d.ts",
"exports": {
".": {
"import": "./dist/mjs/index.js",
"require": "./dist/cjs/index.js",
"types": "./dist/mjs/index.d.ts"
},
"./restricted/*": {
"import": "./dist/mjs/restricted/*.js",
"require": "./dist/cjs/restricted/*.js",
"types": "./dist/mjs/restricted/*.d.ts"
},
"./dom": {
"import": "./dist/mjs/dom/index.js",
"require": "./dist/cjs/dom/index.js",
"types": "./dist/mjs/dom/index.d.ts"
}
},
"sideEffects": false,
"files": [
"dist/",
"dom/",
"restricted/"
],
"scripts": {
"clean": "rm -rf ./dist/*",
"build": "yarn clean && yarn build:esm && yarn build:cjs && yarn build:fixup",
"build:esm": "yarn && tsc -p ./tsconfig.json",
"build:cjs": "yarn && tsc -p ./tsconfig-cjs.json",
"build:fixup": "./fixup.sh",
"test": "yarn build && karma start --browsers ChromeHeadless,FirefoxHeadless --single-run",
"itest": "yarn build && karma start --browsers ChromeHeadless,FirefoxHeadless",
"prepack": "yarn test"
},
"devDependencies": {
"@types/jasmine": "^3.6.2",
"@types/node": "*",
"jasmine-core": "^3.6.0",
"karma": "^6.3.17",
"karma-chrome-launcher": "^3.1.0",
"karma-firefox-launcher": "^2.1.2",
"karma-jasmine": "^4.0.1",
"karma-spec-reporter": "^0.0.32",
"karma-typescript": "^5.2.0",
"typescript": "^4.1.2"
}
}