-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
58 lines (58 loc) · 1.81 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
{
"name": "bar-translate",
"version": "1.3.0",
"description": "",
"scripts": {
"watch": "npm run pre-watch && parcel watch src/background.js src/options.jsx src/register.html src/popup.html src/options.html --out-dir dist --no-hmr",
"build": "npm run pre-build && parcel build src/background.js src/options.jsx src/register.html src/popup.html src/options.html --out-dir dist --no-source-maps && npm run post-build",
"test": "jest --verbose --watch --silent",
"pre-watch": "npm run clean-dist && npm run copy-dev-manifest && npm run copy-hot-reload",
"pre-build": "npm run clean-dist && npm run copy-prod-manifest",
"post-build": "npm run zip-build",
"clean-dist": "rimraf .\\dist\\**\\*",
"copy-prod-manifest": "copy .\\src\\manifest.production.json .\\dist\\manifest.json",
"copy-dev-manifest": "copy .\\src\\manifest.dev.json .\\dist\\manifest.json",
"copy-hot-reload": "copy .\\src\\hot-reload.js .\\dist",
"zip-build": "cross-zip .\\dist .\\.releases\\latest-release.zip"
},
"staticPath": {
"source": [
"src/_locales",
"src/images",
"src/help.html"
],
"target": [
"dist/_locales",
"dist/images",
"dist/help.html"
]
},
"jest": {
"roots": [
"src"
],
"setupFiles": [
"jest-webextension-mock"
]
},
"author": "Maxime Le Breton",
"license": "GNU AGPL",
"devDependencies": {
"babel-core": "^6.26.3",
"babel-jest": "^23.6.0",
"babel-preset-env": "^1.7.0",
"copyfiles": "^2.1.0",
"cross-env": "^5.2.0",
"cross-zip-cli": "^1.0.0",
"cssnano": "^4.1.8",
"fetch-mock": "^7.2.5",
"jest": "^23.6.0",
"jest-webextension-mock": "^3.5.0",
"node-fetch": "^2.3.0",
"parcel-plugin-copy": "^1.0.2",
"rimraf": "^2.6.3"
},
"dependencies": {
"preact": "^8.5.1"
}
}