-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
68 lines (68 loc) · 2.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
{
"name": "univ",
"version": "1.0.0",
"description": "Universal JavaScript application example",
"main": "index.js",
"dependencies": {
"axios": "^0.19.2",
"esm": "^3.2.25",
"fastify": "^2.13.0",
"fastify-cors": "^3.0.2",
"fastify-static": "^2.6.0",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-router-dom": "^5.1.2"
},
"devDependencies": {
"@babel/core": "^7.9.0",
"@babel/plugin-transform-runtime": "^7.9.0",
"@babel/preset-env": "^7.9.0",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.1.0",
"concurrently": "^5.1.0",
"eslint": "^6.8.0",
"eslint-config-standard": "^14.1.1",
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-node": "^11.0.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",
"html-webpack-plugin": "^3.2.0",
"html-webpack-root-plugin": "^0.10.0",
"html-webpack-tags-plugin": "^2.0.17",
"husky": "^4.2.3",
"lint-staged": "^10.0.8",
"terser-webpack-plugin": "^2.3.5",
"webpack": "^4.42.0",
"webpack-cli": "^3.3.11",
"webpack-dev-server": "^3.10.3"
},
"scripts": {
"build:frontend": "webpack --config webpack.config.cjs --mode production",
"dev:ui": "concurrently \"webpack-dev-server --config webpack.config.cjs\" \"npm run start:api\"",
"start:api": "node -r esm ./src/api.js",
"start:server": "node -r esm ./src/server.js",
"start": "npm run build:frontend && concurrently \"npm run start:api\" \"npm run start:server\"",
"build": "npm run build:frontend",
"test:lint": "eslint .",
"test": "npm run test:lint"
},
"repository": {
"type": "git",
"url": "git+https://github.com/lmammino/univ.git"
},
"keywords": [],
"author": "Luciano Mammino, Mario Casciaro",
"license": "MIT",
"bugs": {
"url": "https://github.com/lmammino/univ/issues"
},
"homepage": "https://github.com/lmammino/univ#readme",
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": "eslint --cache --fix"
}
}