-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
98 lines (98 loc) · 2.38 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
{
"name": "treedit",
"version": "0.0.1",
"description": "Reddit/Digg clone",
"repository": "",
"author": "Foo Yong Jie <[email protected]>",
"license": "MIT",
"main": "dist/index.js",
"engines": {
"node": "~8.1.3",
"npm": ">=3.10.0"
},
"scripts": {
"start": "node dist/index.js",
"dev": "nodemon src/index.js --exec \"node -r dotenv/config -r babel-register\"",
"clean": "rimraf dist",
"build-backend": "npm run clean && mkdir -p dist && babel src -s -D -d dist",
"build-frontend": "cd client && npm run build",
"build-all": "npm run build-backend && npm run build-frontend",
"heroku-postbuild": "npm run build-backend && cd client && npm install && npm run build",
"test": "jest --watch",
"lint": "esw -w src test client/src",
"travis": "jest"
},
"dependencies": {
"babel-cli": "^6.26.0",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-preset-env": "^1.6.1",
"body-parser": "^1.18.2",
"express": "^4.16.2",
"morgan": "^1.9.0",
"pug": "^2.0.0-beta11",
"rimraf": "^2.6.2"
},
"devDependencies": {
"babel-eslint": "^8.0.3",
"babel-jest": "^21.2.0",
"babel-register": "^6.26.0",
"dotenv": "^4.0.0",
"eslint": "^4.12.1",
"eslint-config-airbnb": "^16.1.0",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-jest": "^21.3.2",
"eslint-plugin-jsx-a11y": "^6.0.3",
"eslint-plugin-react": "^7.6.1",
"eslint-watch": "^3.1.3",
"jest": "^21.2.1",
"nodemon": "^1.12.1",
"supertest": "^3.0.0"
},
"babel": {
"presets": [
[
"env",
{
"targets": {
"node": "current"
}
}
]
],
"plugins": [
"transform-object-rest-spread",
"transform-class-properties"
]
},
"eslintConfig": {
"parser": "babel-eslint",
"plugins": [
"import",
"jest"
],
"parserOptions": {
"ecmaVersion": 2017,
"sourceType": "module"
},
"env": {
"node": true,
"jest": true,
"browser": true
},
"extends": [
"airbnb"
],
"rules": {
"jest/no-focused-tests": 2,
"jest/no-identical-title": 2
}
},
"eslintIgnore": [
"client/src/registerServiceWorker.js"
],
"jest": {
"testEnvironment": "node",
"modulePathIgnorePatterns": ["client"]
}
}