-
Notifications
You must be signed in to change notification settings - Fork 152
Expand file tree
/
Copy pathpackage.json
More file actions
126 lines (126 loc) · 3.43 KB
/
Copy pathpackage.json
File metadata and controls
126 lines (126 loc) · 3.43 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
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
{
"name": "@ampproject/worker-dom",
"version": "0.36.0",
"description": "A facsimile of a modern DOM implementation intended to run in a Web Worker.",
"main": "dist/main",
"type": "module",
"files": [
"dist"
],
"repository": {
"type": "git",
"url": "https://github.com/ampproject/worker-dom.git"
},
"engines": {
"node": ">=18"
},
"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.mjs",
"lint:worker": "tslint -c config/tslint.json -p src/worker-thread/ -e '**/third_party/**'",
"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": "HUSKY_SKIP_HOOKS=1 np --no-2fa",
"prepublishOnly": "npm-run-all clean build",
"prepare": "husky install"
},
"devDependencies": {
"@ampproject/filesize": "4.3.0",
"@ampproject/rollup-plugin-closure-compiler": "0.27.0",
"@babel/cli": "8.0.1",
"@babel/core": "7.27.7",
"@babel/preset-env": "8.0.2",
"@rollup/plugin-babel": "6.0.4",
"@rollup/plugin-replace": "6.0.2",
"@types/node": "18.19.112",
"@types/sinon": "10.0.20",
"acorn": "8.15.0",
"acorn-walk": "8.3.4",
"ava": "6.4.0",
"babel-plugin-minify-replace": "0.5.0",
"babel-plugin-transform-remove-console": "6.9.4",
"benchmark": "2.1.4",
"cross-env": "7.0.3",
"husky": "8.0.3",
"jsdom": "26.1.0",
"lint-staged": "14.0.1",
"magic-string": "0.30.17",
"np": "10.2.0",
"npm-run-all2": "5.0.2",
"polka": "0.5.2",
"prettier": "3.6.0",
"rimraf": "5.0.5",
"rollup": "4.44.0",
"rollup-plugin-analyzer": "4.0.0",
"@rollup/plugin-terser": "0.4.4",
"sinon": "21.0.0",
"sirv": "3.0.1",
"tslint": "6.1.3",
"typescript": "5.8.3"
},
"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|mjs)",
"./dist/worker/**/*.(js|mjs)",
"./dist/amp-production/**/*.(js|mjs)"
],
"./dist/main.mjs": {
"brotli": "5 kB"
},
"./dist/main.js": {
"brotli": "5.5 kB"
},
"./dist/worker/worker.mjs": {
"brotli": "13 kB"
},
"./dist/worker/worker.js": {
"brotli": "15 kB"
},
"./dist/amp-production/main.mjs": {
"brotli": "4.5 kB"
},
"./dist/amp-production/worker/worker.mjs": {
"brotli": "14 kB"
},
"./dist/amp-production/worker/worker.nodom.mjs": {
"brotli": "2 kB"
}
},
"ava": {
"files": [
"output/test/**/*.test.js"
]
},
"volta": {
"node": "22.16.0",
"yarn": "1.22.22"
},
"publishConfig": {
"access": "public"
}
}