forked from ampproject/worker-dom
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
123 lines (123 loc) · 3.27 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
{
"name": "@ampproject/worker-dom",
"version": "0.24.0",
"description": "A facsimile of a modern DOM implementation intended to run in a Web Worker.",
"main": "dist/main",
"files": [
"dist"
],
"syntax": {
"esmodules": "dist/main.mjs"
},
"repository": {
"type": "git",
"url": "https://github.com/ampproject/worker-dom.git"
},
"engines": {
"node": ">=10.14"
},
"author": "The AMP HTML Authors",
"license": "Apache-2.0",
"scripts": {
"tsc:worker": "tsc -p src/worker-thread/tsconfig.json",
"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",
"clean": "rimraf output dist",
"pretest": "npm-run-all --parallel tsc:*",
"test": "ava -v",
"pre~rollup": "npm-run-all --parallel tsc:worker tsc:main",
"~rollup": "rollup --config config/rollup.config.js",
"lint:worker": "tslint -c config/tslint.json -p src/worker-thread/",
"lint:main": "tslint -c config/tslint.json -p src/main-thread/",
"lint": "npm-run-all --parallel lint:*",
"predemo": "cross-env DEBUG_BUNDLE=true npm-run-all ~rollup",
"demo": "node -r esm demo/server.js",
"build": "cross-env MINIFY_BUNDLE=true npm-run-all ~rollup",
"presize": "npm-run-all build",
"size": "filesize",
"release": "np",
"prepublishOnly": "npm-run-all clean build"
},
"devDependencies": {
"@ampproject/filesize": "3.0.2",
"@ampproject/rollup-plugin-closure-compiler": "0.22.2",
"@babel/cli": "7.8.4",
"@babel/core": "7.8.4",
"@babel/plugin-proposal-class-properties": "7.8.3",
"@babel/plugin-proposal-object-rest-spread": "7.8.3",
"@babel/preset-env": "7.8.4",
"@rollup/plugin-replace": "2.3.1",
"@types/node": "13.7.4",
"@types/sinon": "7.5.1",
"acorn": "7.1.0",
"acorn-walk": "7.1.1",
"ava": "3.3.0",
"babel-plugin-minify-replace": "0.5.0",
"babel-plugin-transform-remove-console": "6.9.4",
"cross-env": "7.0.0",
"cross-var": "1.1.0",
"esm": "3.2.25",
"husky": "4.2.3",
"jsdom": "16.2.0",
"lint-staged": "10.0.7",
"magic-string": "0.25.6",
"np": "6.1.0",
"npm-run-all": "4.1.5",
"polka": "0.5.2",
"prettier": "1.19.1",
"rimraf": "3.0.2",
"rollup": "1.31.1",
"rollup-plugin-babel": "4.3.3",
"rollup-plugin-copy": "3.3.0",
"rollup-plugin-terser": "5.2.0",
"sinon": "9.0.0",
"sirv": "0.4.2",
"tslint": "5.20.1",
"typescript": "3.7.5"
},
"lint-staged": {
"*.{js,ts}": [
"prettier --config config/.prettierrc --write"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "npm-run-all clean test clean size"
}
},
"filesize": {
"track": ["./dist/**/*.js", "./dist/**/*.mjs"],
"./dist/worker/worker.mjs": {
"brotli": "11.4 kB"
},
"./dist/worker/worker.js": {
"brotli": "12.6 kB"
},
"./dist/main.mjs": {
"brotli": "3.5 kB"
},
"./dist/main.js": {
"brotli": "4.1 kB"
}
},
"esm": {
"cjs": true
},
"ava": {
"require": [
"esm"
],
"files": [
"output/test/**/*.test.js"
]
},
"volta": {
"node": "12.16.1",
"yarn": "1.22.0"
},
"publishConfig": {
"access": "public"
}
}