-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
106 lines (106 loc) · 3.28 KB
/
package.json
File metadata and controls
106 lines (106 loc) · 3.28 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
{
"name": "basicotp",
"productName": "BasicOTP",
"version": "1.2.0",
"description": "A two-factor authentication application for one-time password based on time",
"main": "./main.js",
"private": true,
"scripts": {
"dev": "mkdir -p build && npm-run-all --parallel dev-electron-pkg dev-statics dev-bundle",
"dev-bundle": "mkdir -p build && watchify src/app/index.js --debug --cache-dir ./.cache --watch --verbose -p browserify-hmr -o build/app.js ",
"dev-statics": "cpx './src/{index.html,main.js,lib/**/*,img/*}' ./build -vw",
"dev-electron-pkg": "node ./scripts/gen-electron-pkg.js > ./build/package.json",
"dev-serve": "http-server -c 1 -a localhost build",
"dev-electron": "electron build/main.js",
"dev-start": "electron build",
"clean": "rm -Rf dist build",
"dist": "mkdir -p dist && npm-run-all dist-bundle dist-bundle dist-statics dist-electron-pkg dist-install dist-package dist-compress",
"dist-bundle": "mkdir -p dist && cross-env NODE_ENV=production browserify -g envify -g uglifyify -p [ vueify/plugins/extract-css -o dist/bundle.css ] -e src/app/index.js | uglifyjs -c warnings=false -m > dist/app.js",
"dist-statics": "mkdir -p dist && cpx './src/{index.html,main.js,lib/**/*,img/*}' ./dist",
"dist-electron-pkg": "mkdir -p dist && node ./scripts/gen-electron-pkg.js > ./dist/package.json",
"dist-install": "cd dist && npm install --production",
"dist-package": "electron-packager ./dist BasicOTP --out releases --asar --platform=darwin,linux --arch=x64",
"dist-compress": "./scripts/compress-releases.sh",
"standard": "standard \"**/*.{vue,js}\""
},
"author": "Jean Ponchon <jean.ponchon@novadiscovery.com>",
"license": "MIT",
"dependencies": {
"bluebird": "^3.4.7",
"bluebird-co": "^2.2.0",
"fs-extra": "^2.0.0",
"fs-extra-promise": "^0.4.1",
"home-or-tmp": "^3.0.0",
"qr-image": "^3.2.0"
},
"devDependencies": {
"babel": "^6.5.2",
"babel-cli": "^6.22.2",
"babel-core": "^6.22.1",
"babel-plugin-transform-runtime": "^6.22.0",
"babel-preset-es2015": "^6.16.0",
"babel-preset-stage-2": "^6.22.0",
"babel-runtime": "^6.22.0",
"babelify": "^7.3.0",
"browserify": "^14.0.0",
"browserify-hmr": "^0.3.5",
"cpx": "^1.5.0",
"cross-env": "^3.1.4",
"domready": "^1.0.8",
"electron": "^1.4.15",
"electron-packager": "^8.5.1",
"envify": "^4.0.0",
"eslint-plugin-html": "^2.0.0",
"eslint-plugin-vue": "^1.0.0",
"global": "^4.3.1",
"http-server": "^0.9.0",
"lodash.debounce": "^4.0.8",
"notp": "^2.0.3",
"npm-run-all": "^4.0.1",
"standard": "^8.6.0",
"stylus": "^0.54.5",
"thirty-two": "^1.0.2",
"uglifyify": "^3.0.4",
"uglifyjs": "^2.4.10",
"vue": "^2.1.10",
"vueify": "^9.4.0",
"vuex": "^2.1.1",
"watchify": "^3.9.0"
},
"browserify": {
"transform": [
"vueify",
[
"babelify",
{
"presets": [
"es2015",
"stage-2"
]
}
]
]
},
"keywords": [
"vue",
"vuejs",
"electron",
"notp",
"totp",
"oauth",
"2fa",
"password",
"aes"
],
"standard": {
"plugins": [
"html",
"vue"
],
"ignore": [
"**/build/**",
"**/dist/**",
"**/releases/**"
]
}
}