-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
29 lines (29 loc) · 1.31 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
{
"private": true,
"name": "electron-color-picker-example",
"main": "./main/index.js",
"scripts": {
"// script ======================": "",
"script-pack-0-source": "node -r @babel/register ./script/pack-0-source",
"script-pack-0-source-dev": "node -r @babel/register ./script/pack-0-source dev",
"script-pack-1-output": "node -r @babel/register ./script/pack-1-output",
"// step ========================": "",
"step-pack-0-package-install": "cd ./pack-0-source-gitignore && npm install --no-package-lock",
"step-pack-0-build-source": "babel ./source --out-dir ./pack-0-source-gitignore --copy-files",
"step-pack-0-build-source-dev": "cross-env BABEL_ENV=dev npm run step-pack-0-build-source",
"// =============================": "",
"install-cn-mirror": "ELECTRON_MIRROR=\"https://cdn.npm.taobao.org/dist/electron/\" npm install",
"run-dev": "npm run script-pack-0-source-dev && electron ./pack-0-source-gitignore/main/index.js",
"run-prod": "npm run script-pack-0-source && npm run script-pack-1-output && dr-js -o ./pack-1-output-gitignore"
},
"dependencies": {
"electron-color-picker": "^0.2.0"
},
"devDependencies": {
"@dr-js/core": "^0.2.0",
"@dr-js/dev": "^0.2.1",
"@dr-js/dev-babel": "^0.2.0",
"electron": "^7",
"electron-packager": "^14"
}
}