/
package.json
60 lines (60 loc) · 1.99 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
{
"name": "js-dev-env-starter-kit",
"version": "1.0.0",
"description": "JavaScript development environment",
"author": "Sonya Moisset",
"license": "MIT",
"scripts": {
"prestart": "babel-node buildScripts/startMessage.js",
"start": "npm-run-all --parallel security-check open:src lint:watch test:watch start-mockapi",
"open:src": "babel-node buildScripts/srcServer.js",
"lint": "esw webpack.config.* src buildScripts --color",
"lint:watch": "npm run lint -- --watch",
"security-check": "nsp check",
"test": "mocha --reporter progress buildScripts/testSetup.js \"src/**/*.test.js\"",
"test:watch": "npm run test -- --watch",
"generate-mock-data": "babel-node buildScripts/generateMockData",
"prestart-mockapi": "npm run generate-mock-data",
"start-mockapi": "json-server --watch src/api/db.json --port 3001",
"clean-dist": "rimraf ./dist && mkdir dist",
"prebuild": "npm-run-all clean-dist test lint",
"build": "babel-node buildScripts/build.js",
"postbuild": "babel-node buildScripts/distServer.js"
},
"dependencies": {
"whatwg-fetch": "3.6.1"
},
"devDependencies": {
"babel-cli": "6.26.0",
"babel-core": "6.26.3",
"babel-loader": "8.0.6",
"babel-preset-latest": "6.24.1",
"babel-register": "6.26.0",
"chai": "4.2.0",
"chalk": "4.1.0",
"cheerio": "0.22.0",
"compression": "1.7.4",
"cross-env": "6.0.3",
"css-loader": "5.0.1",
"eslint": "7.2.0",
"eslint-plugin-import": "2.15.0",
"eslint-watch": "7.0.0",
"express": "4.17.1",
"extract-text-webpack-plugin": "3.0.2",
"html-webpack-plugin": "4.3.0",
"jsdom": "16.0.1",
"json-schema-faker": "0.4.7",
"json-server": "0.15.1",
"mocha": "7.0.0",
"nock": "12.0.2",
"npm-run-all": "4.1.5",
"nsp": "3.2.1",
"open": "7.0.0",
"rimraf": "2.6.3",
"style-loader": "0.23.1",
"webpack": "5.21.2",
"webpack-dev-middleware": "3.5.1",
"webpack-hot-middleware": "2.24.4",
"webpack-md5-hash": "0.0.6"
}
}