-
Notifications
You must be signed in to change notification settings - Fork 29
/
package.json
106 lines (106 loc) · 3.11 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
{
"name": "@ampproject/amp-sw",
"version": "0.1.4",
"description": "A service worker library to turn your AMP pages into PWA with network resiliency.",
"main": "dist/amp-sw.js",
"scripts": {
"build": "webpack",
"build:prod": "npm run build -- --env location='https://cdn.ampproject.org/sw/'",
"transpile": "tsc -p ./src/tsconfig.json && tsc -p ./test/builder/tsconfig.json",
"pretest": "npm run transpile && npm run build -- --env location='/test/dist/' && mkdir -p test/dist && cp -R dist/* test/dist",
"pretest:unit": "npm run transpile",
"test": "npm-run-all test:*",
"test:conformance": "node -r esm ./node_modules/.bin/ava ./test/conformance-test/*.js --verbose --timeout=4m",
"test:e2e": "node -r esm ./test/index.js",
"test:unit": "node -r esm ./node_modules/.bin/ava ./test/modules/**/unit/*-test.js --verbose",
"test:perf": "node -r esm ./node_modules/.bin/ava ./test/performance-test/*.js --verbose",
"version": "npm run build:prod",
"release": "np --yolo"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ampproject/amp-sw.git"
},
"keywords": [],
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/ampproject/amp-sw/issues"
},
"homepage": "https://github.com/ampproject/amp-sw#readme",
"devDependencies": {
"@ampproject/filesize": "4.2.0",
"@babel/core": "7.12.10",
"@babel/plugin-syntax-dynamic-import": "7.8.3",
"@babel/plugin-transform-async-to-generator": "7.12.1",
"@babel/preset-env": "7.12.11",
"@types/node": "14.14.20",
"@types/tmp": "0.2.0",
"@types/workbox-sw": "3.2.0",
"ava": "3.15.0",
"babel-loader": "8.2.2",
"babel-plugin-filter-imports": "2.0.3",
"chai": "4.2.0",
"chromedriver": "87.0.5",
"clean-webpack-plugin": "1.0.0",
"esm": "3.2.25",
"glob": "7.1.6",
"husky": "4.3.7",
"lint-staged": "10.5.3",
"lodash.islength": "4.0.1",
"mocha": "8.2.1",
"node-fetch": "2.6.1",
"np": "7.2.0",
"npm-run": "5.0.1",
"npm-run-all": "4.1.5",
"prettier": "2.2.1",
"puppeteer": "5.5.0",
"replace-in-file-webpack-plugin": "1.0.6",
"selenium-assistant": "6.1.0",
"serve-handler": "6.1.3",
"sinon": "9.2.3",
"terser-webpack-plugin": "5.1.1",
"ts-loader": "8.0.14",
"typescript": "4.1.3",
"webpack": "5.12.3",
"webpack-cli": "4.3.1",
"workbox-build": "3.6.2",
"workbox-cache-expiration": "3.6.2",
"workbox-core": "3.6.2",
"workbox-navigation-preload": "3.6.2",
"workbox-routing": "3.6.2",
"workbox-strategies": "3.6.2",
"workbox-sw": "3.6.2",
"yargs": "16.2.0"
},
"lint-staged": {
"./index.js": [
"prettier --write --config ./.prettierrc"
],
"src/**/*.ts": [
"prettier --write --config ./.prettierrc"
],
"test/**/*.js": [
"prettier --write --config ./.prettierrc"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"files": [
"dist"
],
"volta": {
"node": "14.15.4"
},
"filesize": {
"track": [
"./dist/**/*.js"
],
"./dist/amp-sw.js": {
"brotli": "7.5 kB"
}
}
}