-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
81 lines (81 loc) · 3.02 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
{
"name": "cyclopt-js-starter-kit",
"version": "0.0.1",
"description": "Cyclopt's JS starter kit",
"scripts": {
"start-message": "babel-node scripts/startMessage.js | ./node_modules/.bin/bunyan",
"security-check": "npm audit",
"lint": "esw scripts back-end",
"lint:watch": "npm run lint -- --watch",
"test:back-end": "jest --coverage --outputFile=coverage.json",
"test:back-end:watch": "npm run test:back-end -- --watch",
"generate-mock-data": "babel-node scripts/generateMockData",
"prestart:back-end": "npm-run-all --parallel -c generate-mock-data start-message",
"start:back-end": "babel-node back-end/server.js | ./node_modules/.bin/bunyan",
"start:dev:back-end": "npm-run-all --parallel -c security-check lint:watch test:back-end:watch start:back-end",
"test:front-end": "npm test --prefix ./front-end -- --coverage",
"test:front-end:watch": "npm test --prefix ./front-end",
"start:front-end": "npm start --prefix ./front-end",
"start:dev:front-end": "npm-run-all --parallel -c test:front-end:watch start:front-end",
"test": "npm-run-all --parallel -c generate-mock-data test:back-end test:front-end",
"clean": "rm -rf build && mkdir build && mkdir -p build/front-end",
"build-babel": "babel -d ./build/back-end ./back-end -s && babel -d ./build/scripts ./scripts -s",
"build:front-end:watch": "npm run watch --prefix ./front-end",
"build": "rm -rf build && mkdir build && mkdir -p build/front-end && npm run build --prefix ./front-end && cp -r ./front-end/build ./build/front-end/build && npm run build-babel",
"prestart": "npm run build",
"start": "NODE_ENV=production node ./build/back-end/server.js",
"start:prod": "NODE_ENV=production npm run start:back-end",
"postinstall": "npm install --prefix ./front-end && npm run build",
"heroku-preinstall": "ls",
"heroku-postinstall": "ls"
},
"author": "Kyriakos Chatzidimitriou",
"license": "MIT",
"dependencies": {
"babel-cli": "^6.26.0",
"babel-core": "^6.26.3",
"babel-preset-env": "^1.7.0",
"babel-preset-latest": "^6.24.1",
"babel-register": "^6.26.0",
"bunyan": "^1.8.12",
"json-server": "^0.14.0",
"compression": "^1.7.3"
},
"jest": {
"verbose": true,
"testPathIgnorePatterns": [
"<rootDir>/front-end/",
"<rootDir>/node_modules/"
],
"collectCoverage": true,
"collectCoverageFrom": [
"**/*.{js}"
],
"coveragePathIgnorePatterns": [
"<rootDir>/front-end/",
"<rootDir>/node_modules/",
"<rootDir>/coverage/"
],
"coverageReporters": [
"json-summary",
"json",
"text-summary",
"lcov"
]
},
"devDependencies": {
"chalk": "^2.4.1",
"debug": "^3.1.0",
"eslint": "^5.4.0",
"eslint-plugin-import": "^2.14.0",
"eslint-watch": "^4.0.2",
"jest": "^23.6.0",
"json-schema-faker": "^0.5.0-rc15",
"nock": "^9.6.1",
"nodemon": "^1.18.4",
"npm-run-all": "^4.1.3",
"rimraf": "^2.6.2",
"superagent": "^4.0.0-beta.5",
"supertest": "^3.3.0"
}
}