-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.old.json
52 lines (52 loc) · 1.55 KB
/
package.old.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
{
"name": "evalumate-server",
"version": "0.0.0",
"private": true,
"scripts": {
"start": "NODE_ENV=development nodemon --watch src/backend src/backend/index.ts --exec babel-node --extensions \".ts\"",
"test": "NODE_ENV=test jest",
"test:watch": "npm run test -- --watch",
"test:coverage": "npm run test -- --coverage",
"tsc:backend": "cd src/backend && tsc",
"tsc:frontend": "cd src/frontend && tsc",
"tsc": "npm run tsc:backend && npm run tsc:frontend",
"build:backend": "rm -rf dist/backend && webpack --config webpack.backend.config.js && webpack --config webpack.migrations.config.js",
"build:frontend": "next build src/frontend",
"build": "npm run build:backend && npm run build:frontend",
"serve": "NODE_ENV=production node dist/backend/index.js",
"typeorm": "node --require ./babel-register.js ./node_modules/.bin/typeorm --config src/backend/ormconfig.cli.json"
},
"prettier": {
"trailingComma": "es5",
"tabWidth": 2,
"printWidth": 100
},
"importSort": {
".ts, .tsx": {
"style": "module",
"parser": "typescript"
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"**/*.ts(x)": "prettier --write"
},
"eslint": {
"parserOptions": {
"ecmaVersion": 2019
},
"env": {
"es6": true
},
"extends": ["plugin:jest/recommended", "plugin:jest/style"],
"plugins": ["react-hooks", "jest"],
"rules": {
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "warn"
}
}
}