-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
97 lines (97 loc) · 3.25 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
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
{
"name": "proteus",
"version": "0.7.0",
"description": "General purpose desktop editor built on Electron and React.",
"main": "./src/main_process/index.js",
"scripts": {
"start": "npm-run-all --parallel bundle serve",
"serve": "electron ./src/main_process",
"dev:win": "SET ELECTRON_ENV=dev&& electron ./src/main_process",
"dev:mac": "ELECTRON_ENV=dev electron ./src/main_process",
"bundle": "webpack --watch --mode development",
"bundle:prod": "webpack -p",
"preonce": "webpack -p",
"once": "npm run serve",
"test": "npm run test:unit && npm run test:e2e",
"test:unit": "jest",
"test:e2e": "mocha ./tests/e2e/*.test.js",
"test:e2e:coverage": "nyc mocha ./tests/e2e/*.test.js",
"lint": "eslint --ext .jsx,.js --ignore-path .gitignore src/ tests/",
"coverage": "jest --coverage",
"coverage:upload": "SET CODACY_PROJECT_TOKEN=%CODACY%&&minicat coverage/lcov.info | codacy-coverage",
"predist": "webpack -p",
"dist": "build"
},
"author": "J. Renato Ramos González <[email protected]>",
"repository": "pastahito/proteus",
"license": "MIT",
"devDependencies": {
"babel-core": "^6.26.2",
"babel-loader": "^7.1.4",
"babel-preset-env": "^1.6.1",
"babel-preset-react": "^6.24.1",
"chai": "^4.1.2",
"chai-as-promised": "^7.1.1",
"codacy-coverage": "^3.0.0",
"css-loader": "^0.28.11",
"electron": "^1.8.6",
"electron-builder": "^20.10.0",
"electron-reload": "^1.2.2",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"eslint": "^4.19.1",
"eslint-plugin-react": "^7.7.0",
"extract-text-webpack-plugin": "^4.0.0-beta.0",
"file-loader": "^1.1.11",
"jest": "^22.4.3",
"minicat": "^1.0.0",
"mocha": "^5.1.1",
"npm-run-all": "^4.1.2",
"nyc": "^11.7.1",
"react-test-renderer": "^16.3.2",
"spectron": "^3.8.0",
"webpack": "^4.6.0",
"webpack-cli": "^2.0.15"
},
"dependencies": {
"immutability-helper": "^2.7.0",
"react": "^16.3.2",
"react-dom": "^16.3.2",
"react-form": "^3.5.5",
"react-icons": "^2.2.7",
"react-redux": "^5.0.7",
"redux": "^4.0.0",
"uuid": "^3.2.1"
},
"jest": {
"testMatch": [
"**/tests/unit/*.(spec|test).js?(x)"
],
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|svg|woff|woff2)$": "<rootDir>/tests/__mocks__/fileMock.js",
"\\.(css|less)$": "<rootDir>/tests/__mocks__/styleMock.js"
}
},
"build": {
"productName": "PROTEUS",
"appId": "pastahito.proteus",
"asar": true,
"files": [
"**/*",
"!docs${/*}",
"!dist${/*}",
"!tests${/*}",
"!src/renderer_process${/*}",
"src/renderer_process/build/bundle.js",
"src/renderer_process/build/bundle.css",
"src/renderer_process/index.html"
],
"win": {
"target": "nsis"
},
"nsis": {
"oneClick": false,
"allowElevation": false
}
}
}