-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
120 lines (120 loc) · 3.82 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
{
"name": "sourcer",
"version": "1.0.0",
"scripts": {
"prebuild:common:tsc": "npm run lint",
"build:common:tsc": "tsc",
"build:common:resource:html": "cpx \"./src/**/*.html\" ./out",
"build:common:resource": "npm-run-all -p build:common:resource:*",
"build:common": "npm-run-all -p build:common:*",
"build:client:statics": "cpx \"./src/statics/**/*.*\" ./docs",
"build:client:css": "postcss --no-map \"src/css/main.css\" -o ./docs/main.css",
"build:client:bundle": "webpack --config=config/webpack.prod.js --mode=production",
"build:debug:client:bundle": "webpack --config=config/webpack.dev.js --mode=development",
"prebuild:debug:client": "mkdirp ./docs",
"prebuild:client": "mkdirp ./docs",
"build:debug:client": "npm-run-all -p build:client:statics build:client:css build:debug:client:bundle",
"build:client": "npm-run-all -p build:client:statics build:client:css build:client:bundle",
"build:debug": "npm-run-all -s build:common build:debug:client",
"build": "npm-run-all -s build:common build:client",
"pretest": "npm run build:common",
"test": "cross-env NODE_ENV=test mocha --bail out/test/**/*.spec.js",
"cover": "nyc npm test",
"format": "prettier --parser typescript --write --single-quote \"./src/**/*.ts\" \"./src/**/*.tsx\"",
"lint": "tslint -c tslint.json 'src/main/**/*.ts' 'src/main/**/*.tsx' 'src/test/**/*.ts'",
"prestart:debug": "npm run build:debug",
"start:debug": "npm run app",
"prestart": "npm run build",
"start": "npm run app",
"app": "node out/main/server/index.js",
"predebug": "npm run build",
"debug": "node --inspect --debug-brk out/main/server/index.js",
"clean": "rimraf out coverage docs",
"precommit": "lint-staged",
"heroku-postbuild": "npm run build"
},
"author": "benishouga",
"license": "MIT",
"dependencies": {
"@deboxsoft/cpx": "^1.5.0",
"@types/dialog-polyfill": "^0.5.0",
"body-parser": "^1.19.0",
"brace": "^0.11.1",
"connect-mongo": "^3.1.2",
"cookie-parser": "^1.4.4",
"dialog-polyfill": "^0.5.0",
"express": "^4.17.1",
"express-session": "^1.17.0",
"moment": "^2.24.0",
"mongoose": "^5.7.11",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"react-mdl": "^1.11.0",
"react-router-dom": "^5.1.2",
"vm2": "^3.8.4"
},
"devDependencies": {
"@types/body-parser": "^1.17.1",
"@types/connect-mongo": "^3.0.0",
"@types/cookie-parser": "^1.4.2",
"@types/express": "^4.17.2",
"@types/express-session": "^1.15.15",
"@types/mocha": "^5.2.7",
"@types/mongodb": "^3.3.10",
"@types/mongoose": "^5.5.32",
"@types/node": "^12.12.8",
"@types/react": "^16.9.11",
"@types/react-dom": "^16.9.4",
"@types/react-mdl": "^1.7.27",
"@types/react-router-dom": "^5.1.2",
"autoprefixer": "^9.7.1",
"cross-env": "^6.0.3",
"css-mqpacker": "^7.0.0",
"husky": "^3.0.9",
"lint-staged": "^9.4.3",
"mkdirp": "^0.5.1",
"mocha": "^6.2.2",
"npm-run-all": "^4.1.5",
"nyc": "^14.1.1",
"postcss-cli": "^6.1.3",
"prettier": "^1.19.1",
"rimraf": "^3.0.0",
"ts-loader": "^6.2.1",
"tslint": "^5.20.1",
"tslint-config-airbnb": "^5.11.2",
"tslint-config-prettier": "^1.18.0",
"tslint-plugin-prettier": "^2.0.1",
"typescript": "^3.7.2",
"uglify-js": "^3.6.9",
"webpack": "^4.41.2",
"webpack-cli": "^3.3.10",
"webpack-merge": "^4.2.2"
},
"nyc": {
"include": [
"out/**/*.js"
],
"exclude": [
"src/test/**/*.ts"
],
"extension": [
".js",
".ts"
],
"reporter": [
"lcov",
"text"
],
"all": true
},
"lint-staged": {
"src/**/*.ts": [
"prettier --parser typescript --write",
"git add"
],
"src/**/*.tsx": [
"prettier --parser typescript --write",
"git add"
]
}
}