-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
31 lines (31 loc) · 1.53 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
{
"name": "anonymous-input",
"version": "1.0.0",
"description": "anonymous input app",
"main": "main.js",
"scripts": {
"start": "electron .",
"build": "yarn lint || npm run lint; yarn minify || npm run minify; electron-packager . anonymous-input",
"test": "jest unit-tests; yarn build || npm run build; (yarn disable-obfuscation; mocha; yarn enable-obfuscation;) || (npm run disable-obfuscation; mocha; npm run enable-obfuscation;); pkill Electron;",
"manual-test": "yarn build || npm run build; (yarn disable-obfuscation; yarn start; yarn enable-obfuscation;) || (npm run disable-obfuscation; npm run start; npm run enable-obfuscation;); pkill Electron;",
"zip": "FOLDER_TO_ZIP=\"$(find . -maxdepth 1 -type d -name 'anonymous-input-*' -print -quit)\"; zip -r \"${FOLDER_TO_ZIP}.zip\" \"${FOLDER_TO_ZIP}\";",
"lint": "eslint --fix *.js",
"minify": "bash minify.sh",
"disable-obfuscation": "mv dictionary.js dictionary_disabled.js || true; mv obfuscationMapping.js obfuscationMapping_disabled.js || true;",
"enable-obfuscation": "mv dictionary_disabled.js dictionary.js || true; mv obfuscationMapping_disabled.js obfuscationMapping.js || true;"
},
"repository": "https://github.com/hchiam/anonymous-input",
"keywords": [],
"author": "hchiam",
"license": "MIT",
"devDependencies": {
"electron": "^8.5.2",
"electron-packager": "^14.2.1",
"eslint": "^6.8.0",
"eslint-config-google": "^0.14.0",
"jest": "^25.2.7",
"minify": "^5.1.1",
"mocha": "^7.1.1",
"spectron": "^10.0.1"
}
}