-
Notifications
You must be signed in to change notification settings - Fork 24
/
package.json
55 lines (55 loc) · 1.91 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
{
"name": "service-worker-detector",
"version": "2.4.1",
"description": "This extension detects if a website registers a Service Worker.",
"main": "background.js",
"scripts": {
"copy": "shx rm -rf ./third_party && shx mkdir ./third_party && shx cp ./node_modules/js-beautify/js/lib/beautifier.min.js ./third_party/ && shx cp ./node_modules/prismjs/prism.js ./third_party/ && shx cp ./node_modules/prismjs/themes/prism.css ./third_party/ && shx cp ./node_modules/esprima/dist/esprima.js ./third_party/",
"fix": "npx prettier --write .",
"lint": "npx eslint . --fix && npx stylelint \"**/*.css\"",
"prepare": "npm run copy && npm run fix && npm run lint",
"safari": "xcrun safari-web-extension-converter . --project-location ../safari-extensions/service-worker-detector --copy-resources --swift --force --bundle-identifier com.google.googlechromelabs.service-worker-detector"
},
"repository": {
"type": "git",
"url": "git+https://github.com/google/service-worker-detector.git"
},
"author": "Thomas Steiner <[email protected]> (http://blog.tomayac.com/)",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/google/service-worker-detector/issues"
},
"homepage": "https://github.com/google/service-worker-detector#readme",
"devDependencies": {
"eslint": "^8.50.0",
"eslint-config-google": "^0.14.0",
"eslint-config-prettier": "^9.0.0",
"esprima": "^4.0.1",
"js-beautify": "^1.14.9",
"prettier": "^3.0.3",
"prismjs": "^1.29.0",
"shx": "^0.3.4",
"stylelint-csstree-validator": "^3.0.0"
},
"eslintConfig": {
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module"
},
"extends": [
"google",
"prettier"
]
},
"stylelint": {
"plugins": [
"stylelint-csstree-validator"
],
"rules": {
"csstree/validator": true
}
},
"dependencies": {
"stylelint": "^15.10.3"
}
}