forked from ampproject/worker-dom
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
132 lines (132 loc) · 3.53 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
{
"name": "@intlify/worker-dom",
"description": "A facsimile of a modern DOM implementation intended to run in a Web Worker.",
"version": "1.3.1",
"author": "The Intlify Project Authors",
"ava": {
"require": [
"esm"
],
"files": [
"output/test/**/*.test.js"
]
},
"devDependencies": {
"@ampproject/filesize": "4.3.0",
"@ampproject/rollup-plugin-closure-compiler": "0.26.0",
"@babel/cli": "7.13.10",
"@babel/core": "7.13.10",
"@babel/plugin-proposal-class-properties": "7.13.0",
"@babel/plugin-proposal-object-rest-spread": "7.13.8",
"@babel/preset-env": "7.13.10",
"@rollup/plugin-replace": "2.4.1",
"@types/node": "14.14.34",
"@types/sinon": "9.0.11",
"acorn": "8.1.0",
"acorn-walk": "8.0.2",
"ava": "3.15.0",
"babel-plugin-minify-replace": "0.5.0",
"babel-plugin-transform-remove-console": "6.9.4",
"cross-env": "7.0.3",
"esm": "3.2.25",
"husky": "5.1.3",
"jsdom": "16.5.1",
"lint-staged": "10.5.4",
"magic-string": "0.25.7",
"np": "7.4.0",
"npm-run-all": "4.1.5",
"polka": "0.5.2",
"prettier": "2.2.1",
"rimraf": "3.0.2",
"rollup": "2.41.2",
"rollup-plugin-analyzer": "4.0.0",
"rollup-plugin-babel": "4.4.0",
"rollup-plugin-terser": "7.0.2",
"sinon": "9.2.4",
"sirv": "1.0.11",
"tslint": "6.1.3",
"typescript": "4.2.3"
},
"engines": {
"node": ">=10.14"
},
"esm": {
"cjs": true
},
"files": [
"dist"
],
"filesize": {
"track": [
"./dist/*.(js|mjs)",
"./dist/worker/**/*.(js|mjs)",
"./dist/amp-production/**/*.(js|mjs)"
],
"./dist/main.mjs": {
"brotli": "4 kB"
},
"./dist/main.js": {
"brotli": "5 kB"
},
"./dist/worker/worker.mjs": {
"brotli": "12 kB"
},
"./dist/worker/worker.js": {
"brotli": "13.5 kB"
},
"./dist/amp-production/main.mjs": {
"brotli": "4 kB"
},
"./dist/amp-production/worker/worker.mjs": {
"brotli": "13 kB"
},
"./dist/amp-production/worker/worker.nodom.mjs": {
"brotli": "2 kB"
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "npm-run-all clean test clean size"
}
},
"license": "Apache-2.0",
"lint-staged": {
"*.{js,ts}": [
"prettier --config config/.prettierrc --write"
]
},
"main": "dist/main",
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "https://github.com/intlify/worker-dom.git"
},
"scripts": {
"build": "cross-env MINIFY_BUNDLE=true npm-run-all ~rollup",
"clean": "rimraf output dist",
"demo": "node -r esm demo/server.js",
"lint": "npm-run-all --parallel lint:*",
"lint:main": "tslint -c config/tslint.json -p src/main-thread/",
"lint:worker": "tslint -c config/tslint.json -p src/worker-thread/",
"predemo": "cross-env DEBUG_BUNDLE=true npm-run-all ~rollup",
"prepublishOnly": "npm-run-all clean build",
"presize": "npm-run-all build",
"pretest": "npm-run-all --parallel tsc:*",
"pre~rollup": "npm-run-all --parallel tsc:worker tsc:main",
"release": "HUSKY_SKIP_HOOKS=1 np --no-2fa",
"size": "filesize",
"test": "ava -v",
"tsc:main": "tsc -p src/main-thread/tsconfig.json",
"tsc:tests": "tsc -p src/test/tsconfig.json",
"tsc:tests-main": "tsc -p src/test/main-thread/tsconfig.json",
"tsc:worker": "tsc -p src/worker-thread/tsconfig.json",
"~rollup": "rollup --config config/rollup.config.js"
},
"volta": {
"node": "14.16.0",
"yarn": "1.22.10"
}
}