This repository has been archived by the owner on Dec 11, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
119 lines (119 loc) · 3.68 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
111
112
113
114
115
116
117
118
119
{
"name": "jsonn.store",
"version": "0.0.1",
"license": "MIT",
"scripts": {
"crn": "rm -rf node_modules/@types/react-native",
"dev": "yarn crn && razzle start",
"debug": "yarn crn && razzle start --inspect --inspect-port 9230",
"build": "yarn crn && razzle build",
"start-locale": "node build/server.js",
"start": "pm2 start build/server.js --name \"server\"",
"stop": "pm2 stop server && pm2 delete server",
"lint": "eslint './src/**/*.ts*' './test/**/*.test.ts*' --cache",
"generate-type": "node scripts/type-generator.js",
"prettier": "prettier --ignore-path ./.prettierignore **/*.ts*",
"fix": "yarn prettier --write && yarn lint --fix",
"test": "yarn crn && razzle test --env=jsdom --coverage",
"check-rule": "yarn tsc && yarn lint && yarn prettier && yarn test"
},
"dependencies": {
"@babel/runtime": "^7.7.4",
"axios": "^0.19.0",
"body-parser": "^1.19.0",
"classnames": "^2.2.6",
"cors": "^2.8.5",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"jsonwebtoken": "^8.5.1",
"lodash": "^4.17.19",
"md5": "^2.2.1",
"node-cache": "^5.0.2",
"pg": "^7.14.0",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"react-markdown": "^4.2.2",
"react-markdown-github-renderers": "^1.0.3",
"react-router-dom": "^5.1.2",
"reflect-metadata": "^0.1.13",
"socket.io": "^2.3.0",
"styled-components": "^4.4.1",
"typeorm": "^0.2.20",
"yasintz-json-parser": "^1.0.19"
},
"devDependencies": {
"@babel/cli": "^7.7.4",
"@babel/core": "^7.7.4",
"@babel/preset-env": "^7.7.4",
"@babel/preset-react": "^7.7.4",
"@types/ace": "^0.0.42",
"@types/axios": "^0.14.0",
"@types/body-parser": "^1.17.1",
"@types/classnames": "^2.2.9",
"@types/cors": "^2.8.6",
"@types/express": "^4.17.2",
"@types/jest": "^24.0.23",
"@types/jsonwebtoken": "^8.3.5",
"@types/lodash": "^4.14.149",
"@types/md5": "^2.1.33",
"@types/node": "^12.12.14",
"@types/node-cache": "^4.2.5",
"@types/pg": "^7.11.2",
"@types/react": "^16.9.13",
"@types/react-dom": "^16.9.4",
"@types/react-router-dom": "^5.1.3",
"@types/socket.io": "^2.1.4",
"@types/styled-components": "^4.4.0",
"@types/webpack-env": "^1.14.1",
"@typescript-eslint/eslint-plugin": "^2.9.0",
"@typescript-eslint/parser": "^2.9.0",
"awesome-typescript-loader": "^5.2.1",
"babel-eslint": "^10.0.3",
"babel-loader": "^8.0.6",
"babel-plugin-styled-components": "^1.10.6",
"css-loader": "^3.2.0",
"eslint": "^6.7.1",
"eslint-config-airbnb": "^18.0.1",
"eslint-config-prettier": "^6.7.0",
"eslint-config-react-app": "^5.0.2",
"eslint-plugin-flowtype": "^4.5.2",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.1.1",
"eslint-plugin-react": "^7.16.0",
"eslint-plugin-react-hooks": "^2.3.0",
"husky": "^3.1.0",
"jest": "^24.9.0",
"nodemon": "^2.0.1",
"prettier": "^1.19.1",
"razzle": "^3.0.0",
"razzle-plugin-typescript": "^3.0.0",
"svg-react-loader": "^0.4.6",
"ts-jest": "^24.2.0",
"typescript": "^3.7.2"
},
"jest": {
"transform": {
"\\.(ts|tsx)$": "ts-jest",
"\\.css$": "<rootDir>/node_modules/razzle/config/jest/cssTransform.js",
"^(?!.*\\.(js|jsx|css|json)$)": "<rootDir>/node_modules/razzle/config/jest/fileTransform.js"
},
"testMatch": [
"<rootDir>/test/**/?(*.)(spec|test).(ts|js)?(x)"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"json"
],
"collectCoverageFrom": [
"src/**/*.{js,jsx,ts,tsx}"
]
},
"husky": {
"hooks": {
"pre-push": "yarn check-rule"
}
}
}