This repository has been archived by the owner on Jul 13, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
91 lines (91 loc) · 2.7 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
{
"name": "repetitor.tsx",
"author": "Vlad GURDIGA <[email protected]>",
"description": "This is going to be an online system for tutors.",
"license": "MIT",
"engines": {
"node": "14.2.0"
},
"scripts": {
"migrate": "db-migrate up --verbose --env $NODE_ENV --config backend/migrations/config.json --migrations-dir backend/migrations",
"install-packages": "(cd backend && npm install) && (cd frontend && npm install) && (cd frontend/tests && npm install) && npm install",
"heroku-prebuild": "npm run install-packages && npm run migrate",
"build": "tsc --build -v",
"start": "node --require ts-node/register --require tsconfig-paths/register --require amd-loader backend/src/index.ts"
},
"repository": "github:user/repo",
"devDependencies": {
"@types/chai": "4.2.14",
"@types/chai-as-promised": "7.1.3",
"@types/mocha": "7.0.2",
"@types/sinon": "9.0.5",
"@types/sinon-chai": "3.2.4",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"mocha": "7.1.1",
"nodemon": "2.0.3",
"prettier": "2.0.5",
"sinon": "9.0.2"
},
"dependencies": {
"@typescript-eslint/eslint-plugin": "2.28.0",
"@typescript-eslint/parser": "2.34.0",
"amd-loader": "0.0.8",
"db-migrate": "0.11.11",
"db-migrate-mysql": "2.1.1",
"eslint": "^6.8.0",
"eslint-plugin-node": "11.1.0",
"requirejs": "2.3.6",
"sinon-chai": "3.5.0",
"ts-node": "8.10.1",
"tsconfig-paths": "3.9.0",
"typescript": "3.9.3"
},
"eslintConfig": {
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"rules": {
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-empty-interface": "off",
"@typescript-eslint/no-use-before-define": [
"error",
{
"functions": false,
"variables": false
}
],
"@typescript-eslint/camelcase": "off",
"@typescript-eslint/no-namespace": "off",
"no-inner-declarations": "off",
"prefer-const": [
"error",
{
"destructuring": "all",
"ignoreReadBeforeAssign": false
}
]
},
"ignorePatterns": [
"backend/migrations/",
"**/build/bundle.js"
]
},
"prettier": {
"tabWidth": 2,
"bracketSpacing": false,
"semi": true,
"printWidth": 120
}
}