-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
81 lines (80 loc) · 2.6 KB
/
package.json
File metadata and controls
81 lines (80 loc) · 2.6 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
{
"name": "CustomExecutableModule",
"productName": "CustomExecutableModule",
"description": "A module to run custom executables for the Electron boilerplate",
"version": "0.1.0",
"author": "Andreas Gerlach <andi@appelgriebsch.org>",
"main": "app/CustomExecutable.js",
"repository": {
"type": "git",
"url": "git+https://github.com/appelgriebsch/electron-boilerplate.git"
},
"keywords": [
"electron",
"boilerplate",
"reactjs",
"CustomExecutableModule"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/appelgriebsch/electron-boilerplate/issues"
},
"homepage": "https://github.com/appelgriebsch/electron-boilerplate/tree/reactjs#readme",
"babel": {
"presets": [
"es2015",
"react"
],
"plugins": [
[
"react-intl",
{
"messagesDir": "./build/translations",
"enforceDescriptions": true
}
],
"babel-plugin-transform-flow-strip-types",
"transform-object-rest-spread"
]
},
"jest": {
"transform": {
"^.+\\.jsx?$": "babel-jest"
}
},
"scripts": {
"postinstall": "cd app && npm install --no-optional",
"start": "electron-shell --debug app/",
"compile": "babel --ignore node_modules/ --compact true --source-maps inline --minified --extensions .jsx app/ -d app/",
"package": "cross-env NODE_ENV=production npm run postinstall && asar p app/ build/$npm_package_productName.asar",
"prune": "rimraf app/node_modules",
"test": "jest",
"build": "npm run compile && npm run prune && npm run package",
"compile-scripts": "babel --ignore node_modules --compact true --source-maps inline --minified --extensions .jsx build/ -d build/",
"clean-translations": "rimraf build/translations",
"gen-translations": "npm run -s clean-translations && npm run -s compile && npm run -s compile-scripts && node build/gen_translations.js",
"generate-docs": "jsdoc -c jsdoc.json",
"lint": "standard \"app/**/*.jsx\"",
"reformat": "npm run lint || standard \"app/**/*.jsx\" --fix"
},
"devDependencies": {
"asar": "^0.12.0",
"babel-cli": "^6.24.0",
"babel-jest": "^19.0.0",
"babel-plugin-react-intl": "^2.3.1",
"babel-plugin-transform-flow-strip-types": "^6.22.0",
"babel-plugin-transform-object-rest-spread": "^6.23.0",
"babel-preset-es2015": "^6.24.0",
"babel-preset-react": "^6.23.0",
"cross-env": "^4.0.0",
"glob-promise": "^3.1.0",
"jest-cli": "^19.0.2",
"jsdoc": "^3.4.3",
"jsdoc-babel": "^0.3.0",
"rimraf": "^2.6.1",
"standard": "^10.0.0",
"jsonfile": "^3.0.1"
},
"dependencies": {
}
}