This repository has been archived by the owner on Dec 6, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
110 lines (110 loc) · 3.51 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
{
"dependencies": {
"babel-core": "6.26.0",
"babel-eslint": "8.2.2",
"babel-loader": "7.1.4",
"babel-plugin-transform-class-properties": "6.24.1",
"babel-plugin-transform-object-rest-spread": "6.26.0",
"babel-preset-env": "1.6.1",
"babel-preset-react": "6.24.1",
"boom": "7.2.0",
"hapi": "17.2.3",
"inert": "5.0.1",
"isomorphic-fetch": "2.2.1",
"joi": "13.1.2",
"knex": "0.14.4",
"limax": "1.6.0",
"logdown": "3.2.3",
"material-ui": "1.0.0-beta.38",
"objection": "1.0.1",
"pg": "7.4.1",
"prop-types": "15.6.1",
"react": "16.2.0",
"react-dom": "16.2.0",
"react-hot-loader": "4.0.0",
"react-redux": "5.0.7",
"react-router-dom": "4.2.2",
"redux": "3.7.2",
"redux-devtools-extension": "2.13.2",
"redux-thunk": "2.2.0",
"rimraf": "2.6.2",
"sqlite3": "4.0.0",
"webpack": "3.11.0"
},
"devDependencies": {
"babel-jest": "22.4.3",
"concurrently": "3.5.1",
"cross-env": "5.1.4",
"dotenv": "5.0.1",
"eslint": "4.19.1",
"eslint-config-prettier": "2.9.0",
"eslint-plugin-babel": "4.1.2",
"eslint-plugin-prettier": "2.6.0",
"eslint-plugin-react": "7.7.0",
"husky": "0.14.3",
"istanbul": "0.4.5",
"jasmine": "3.1.0",
"jest": "22.4.2",
"lint-staged": "7.0.0",
"nodemon": "1.17.2",
"nsp": "3.2.1",
"prettier": "1.11.1",
"raf": "3.4.0",
"react-test-renderer": "16.2.0",
"redux-mock-store": "1.5.1",
"request": "2.85.0",
"webpack-dev-server": "3.1.1"
},
"engines": {
"node": "8.x.x"
},
"main": "index.js",
"name": "@welovecoding/website",
"private": true,
"repository": {
"type": "git",
"url": "git+https://github.com/welovecoding/website.git"
},
"lint-staged": {
"*.{js,jsx}": [
"eslint --ignore-path .gitignore --fix",
"git add"
],
"*.json": [
"prettier --ignore-path .prettierignore --write",
"git add"
],
"*.scss": [
"prettier --ignore-path .gitignore --write",
"git add"
],
"*.ts": [
"prettier --ignore-path .gitignore --write",
"git add"
]
},
"scripts": {
"clear": "rimraf temp && mkdirp temp",
"check": "nsp check --output summary",
"coverage": "rimraf coverage && npm run dist && npm run coverage:backend && npm run coverage:frontend",
"coverage:backend": "cross-env NODE_ENV=test JASMINE_CONFIG_PATH=src/test/support/jasmine.json istanbul cover --report html --dir coverage/backend ./node_modules/jasmine/bin/jasmine.js",
"coverage:frontend": "jest --coverage",
"dist": "npm run clear && npm run init:db && npm run dist:frontend",
"dist:frontend": "rimraf dist/frontend/js && webpack",
"init": "npm run init:db",
"init:db": "knex migrate:latest && knex seed:run",
"postinstall": "npm run dist",
"fix": "npm run fix:js",
"fix:js": "eslint --ignore-path .gitignore --fix \"**/*.{js,jsx}\"",
"precommit": "lint-staged",
"preversion": "npm install && npm run dist && npm test",
"version": "npm run dist",
"postversion": "git push && git push --tags",
"start": "npm run dist && concurrently \"nodemon index.js\" \"webpack-dev-server --hot --open\"",
"start:frontend": "concurrently \"nodemon index.js\" \"webpack-dev-server --hot --open\"",
"test": "cross-env-shell NODE_ENV=test npm run dist && npm run test:backend && npm run test:frontend",
"test:backend": "cross-env NODE_ENV=test JASMINE_CONFIG_PATH=src/test/support/jasmine.json jasmine",
"test:frontend": "jest"
},
"version": "1.0.46"
}