-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
47 lines (47 loc) · 2.41 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
{
"name": "electron-router",
"version": "0.5.1",
"license": "MIT",
"description": "Router for Electron shell, useful for MVC",
"author": "Guillermo Blanco",
"repository": {
"type": "git",
"url": "https://github.com/m0n0l0c0/electron-router.git"
},
"bugs": {
"url": "https://github.com/m0n0l0c0/electron-router/issues",
"email": "guillermoechegoyenblanco@gmail.com"
},
"main": "router.js",
"dependencies": {
"eventemitter3": "git+https://github.com/m0n0l0c0/eventemitter3.git",
"lodash": "^4.17.11",
"uuid": "^3.0.0"
},
"devDependencies": {
"electron-mocha": "^6.0.4",
"istanbul": "^0.4.5",
"mocha": "^6.1.4",
"require-no-cache": "^0.2.1",
"should": "^9.0.2",
"standard": "^8.0.0"
},
"keywords": [
"electron",
"router",
"mvc",
"callback"
],
"scripts": {
"prepublishOnly": "npm test",
"test-env": "./node_modules/mocha/bin/mocha --require tests/coverage.js tests/env/main.js && mv coverage/coverage-final.json coverage/coverage-env.json",
"test-config": "./node_modules/electron-mocha/bin/electron-mocha --require tests/coverage.js tests/config/main.js && mv coverage/coverage-final.json coverage/coverage-conf.json",
"test-errors": "./node_modules/electron-mocha/bin/electron-mocha --require tests/coverage.js tests/errors/params.js && mv coverage/coverage-final.json coverage/coverage-errors.json",
"test-process": "./node_modules/electron-mocha/bin/electron-mocha --require tests/coverage.js tests/mainProcess/main.js && mv coverage/coverage-final.json coverage/coverage-process.json",
"test-process-handlers": "./node_modules/electron-mocha/bin/electron-mocha --require tests/coverage.js tests/mainProcess/handlers.js && mv coverage/coverage-final.json coverage/coverage-process.json",
"test-renderer-alone": "./node_modules/electron-mocha/bin/electron-mocha --renderer tests/renderer/alone.js",
"test-renderer-handlers": "./node_modules/electron-mocha/bin/electron-mocha --renderer tests/renderer/handlers.js",
"test-renderer-complex": "./node_modules/electron-mocha/bin/electron-mocha --preload tests/renderer/process.js --renderer tests/renderer/renderer.js",
"test": "standard && npm run test-env && npm run test-config && npm run test-errors && npm run test-process && npm run test-process-handlers && npm run test-renderer-alone && npm run test-renderer-handlers && npm run test-renderer-complex && istanbul report"
}
}