-
Notifications
You must be signed in to change notification settings - Fork 289
/
package.json
73 lines (73 loc) · 3.47 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
{
"name": "VisBug",
"version": "0.4.8",
"description": "",
"author": "Adam Argyle",
"license": "Apache-2.0",
"main": "app/components/vis-bug/vis-bug.element.js",
"repository": {
"type": "git",
"url": "https://github.com/GoogleChromeLabs/ProjectVisBug.git"
},
"scripts": {
"start": "npm run concurrent",
"concurrent": "concurrently --kill-others \"npm run dev:js\" \"npm run dev:css\" \"npm run dev:server\"",
"bundle": "rollup -c && postcss app/index.css -o app/bundle.css",
"bundle:prod": "rollup -c --environment build:prod",
"bump": "npm version patch -m 'Release %s'",
"postversion": "npm run extension:ci:version",
"dev:js": "rollup -c -w --environment build:dev",
"dev:css": "postcss app/index.css -o app/bundle.css -w",
"dev:server": "browser-sync start --server \"app\" --files \"app/index.html,app/bundle.css,app/bundle.js\" --no-open --no-notify --no-ui --no-ghost-mode",
"dev:extension": "npm run extension:build && npm run extension:local:version",
"extension": "npm run extension:js && npm run extension:css && npm run extension:copy && npm run extension:local:version",
"extension:local:version": "sed -i '' \"s/{{NPM_VERSION}}/0.0.0/\" ./extension/manifest.json && sed -i '' \"s/VisBug/DevBug/\" ./extension/manifest.json && sed -i '' \"s/visbug.png/visbug-dev.png/\" ./extension/manifest.json",
"extension:ci:version": "sed -i \"s/{{NPM_VERSION}}/$npm_package_version/\" ./extension/manifest.json",
"extension:build": "npm run extension:js && npm run extension:css && npm run extension:copy",
"extension:release": "npm run test:ci && npm run bump && npm run extension:build && npm run extension:zip",
"extension:js": "npm run bundle:prod",
"extension:css": "postcss app/extension.css -o extension/toolbar/bundle.css",
"extension:copy": "cp app/bundle.min.js extension/toolbar/ && cp -R app/tuts/ extension/tuts",
"extension:zip": "rm -rf ./extension/build/* && mkdir ./visbug_v$npm_package_version && cp -R ./extension/* ./visbug_v$npm_package_version/ && zip -r ./extension/build/visbug.zip ./visbug_v$npm_package_version/ && rm -rf ./visbug_v$npm_package_version",
"extension:firefox": "npm run dev:extension && cd extension && web-ext run",
"extension:firefox-build": "npm run extension:build && cd extension && web-ext build",
"deploy": "gcloud app deploy --project=visbug-1337",
"test": "ava",
"test:dev": "ava -v -w",
"test:server": "browser-sync start --server \"app\" --files \"app/index.html,app/bundle.css,app/bundle.js\" --no-open --no-notify --no-ui --no-ghost-mode",
"test:ci": "start-server-and-test http://localhost:3000"
},
"dependencies": {
"@ctrl/tinycolor": "^3.0.2",
"blingblingjs": "^2.3.0",
"colorjs.io": "^0.5.0",
"construct-style-sheets-polyfill": "^2.4.2",
"hotkeys-js": "^3.13.7",
"query-selector-shadow-dom": "^1.0.1"
},
"devDependencies": {
"ava": "1.4.1",
"browser-sync": "^2.26.13",
"concurrently": "^5.1.0",
"esm": "^3.2.22",
"open-props": "^1.6.21",
"postcss": "^7.0.27",
"postcss-cli": "^7.1.0",
"postcss-import": "^12.0.1",
"postcss-loader": "^3.0.0",
"postcss-preset-env": "^6.7.0",
"puppeteer": "^10.0.0",
"ragrid": "^1.0.6",
"rollup": "^2.0.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-postcss": "^3.1.0",
"rollup-plugin-terser": "^7.0.2",
"start-server-and-test": "^1.11.0",
"web-ext": "^7.11.0"
},
"ava": {
"require": [
"esm"
]
}
}