-
Notifications
You must be signed in to change notification settings - Fork 53
Expand file tree
/
Copy pathpackage.json
More file actions
69 lines (69 loc) · 3.04 KB
/
package.json
File metadata and controls
69 lines (69 loc) · 3.04 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
{
"scripts": {
"start": "EXT_MODE=debug webpack -w --env.mv=v2",
"start:v2": "EXT_MODE=debug webpack -w --env.mv=v2",
"start:v3": "EXT_MODE=debug webpack -w --env.mv=v3",
"build:v2": "EXT_MODE=prod MANIFEST_VERSION=v2 webpack --env.production --env.mv=v2 && EXT_MODE=prod MANIFEST_VERSION=v2 node tools/manifest.mjs && EXT_MODE=prod MANIFEST_VERSION=v2 node tools/verify-prod.mjs",
"build:v3": "EXT_MODE=prod MANIFEST_VERSION=v3 webpack --env.production --env.mv=v3 && EXT_MODE=prod MANIFEST_VERSION=v3 node tools/manifest.mjs && EXT_MODE=prod MANIFEST_VERSION=v3 node tools/verify-prod.mjs",
"build:v2:debug": "EXT_MODE=debug MANIFEST_VERSION=v2 webpack --env.production --env.mv=v2 && EXT_MODE=debug MANIFEST_VERSION=v2 node tools/manifest.mjs",
"build:v3:debug": "EXT_MODE=debug MANIFEST_VERSION=v3 webpack --env.production --env.mv=v3 && EXT_MODE=debug MANIFEST_VERSION=v3 node tools/manifest.mjs",
"build:all": "npm run build:v2 && npm run build:v3",
"clean": "rm -rdf dist dist-v2 dist-v3 *.zip",
"prod": "npm run build:v2",
"debug:server": "cd debug-server && npm install && npm start",
"zip:v2": "cd dist-v2 && zip -r -FS ../noobox-v2.zip *",
"zip:v3": "cd dist-v3 && zip -r -FS ../noobox-v3.zip *",
"zip:source": "zip -r -FS source_code.zip src/ package.json webpack.config.js tsconfig.json BUILD.md README.md LICENSE -x '**/node_modules/*'",
"release": "npm run checkFormat && npm run clean && npm run build:all && npm run zip:v2 && npm run zip:v3 && npm run zip:source",
"lint-staged": "lint-staged",
"lint": "node_modules/tslint/bin/tslint --project tsconfig.json",
"checkFormat": "prettier --check '**/*.{ts,tsx}' '!dist/**'",
"format": "prettier --write '**/*.{ts,tsx}' '!dist/**'"
},
"pre-commit": [
"lint-staged"
],
"lint-staged": {
"*.{ts,tsx}": [
"npm run format",
"npm run checkFormat",
"npm run lint",
"git add"
]
},
"devDependencies": {
"@babel/core": "^7.23.9",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6",
"@babel/plugin-proposal-optional-chaining": "^7.21.0",
"@babel/preset-env": "^7.23.9",
"@fortawesome/fontawesome-svg-core": "^1.2.26",
"@fortawesome/free-brands-svg-icons": "^5.12.0",
"@fortawesome/free-solid-svg-icons": "^5.12.0",
"@fortawesome/react-fontawesome": "^0.1.8",
"@types/chrome": "0.0.91",
"@types/react": "^16.9.16",
"@types/react-dom": "^16.9.4",
"@types/styled-components": "^4.4.1",
"antd": "^3.26.3",
"awesome-typescript-loader": "^5.2.1",
"babel-loader": "^8.3.0",
"copy-webpack-plugin": "^5.1.1",
"json5": "^2.2.3",
"lint-staged": "^9.5.0",
"mobx": "^5.15.0",
"mobx-react": "^6.1.4",
"pre-commit": "^1.2.2",
"prettier": "^1.19.1",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"styled-components": "^4.4.1",
"tslint": "^5.20.1",
"tslint-config-prettier": "^1.18.0",
"typescript": "^3.7.3",
"webpack": "^4.41.2",
"webpack-cli": "^3.3.10"
},
"dependencies": {
"linkedom": "^0.18.12"
}
}