This repository was archived by the owner on Mar 25, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
112 lines (112 loc) · 2.87 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
{
"name": "asuka",
"version": "0.0.8",
"description": "No Apollo",
"repository": "git@github.com:LeetCode-OpenSource/asuka.git",
"author": "LongYinan <lynweklm@gmail.com>",
"license": "MIT",
"private": true,
"workspaces": [
"packages/*"
],
"scripts": {
"build": "shx rm -rf ./packages/{di,http,types,utils}/**/{esm,lib} && shx rm -rf ./packages/**/tsconfig.tsbuildinfo && tsc -b tsconfig.project.json && rollup --config rollup.config.js",
"circular": "madge --circular ./packages/{http,utils,types}/src/index.ts",
"cover": "shx rm -rf .nyc_output && shx rm -rf coverage && nyc --reporter=html --reporter=json ava",
"dev": "node tools/cli/webpack-cli.js",
"lint": "eslint . -c .eslintrc.yml --ext .js,.ts,tsx",
"lint:cache": "yarn lint --cache",
"test": "ava",
"typecheck": "lerna run typecheck"
},
"devDependencies": {
"@types/react-dom": "^17.0.0",
"@types/react-test-renderer": "^17.0.0",
"@types/webpack": "^4.41.0",
"@typescript-eslint/eslint-plugin": "^4.0.0",
"@typescript-eslint/parser": "^3.3.0",
"ava": "^3.1.0",
"codecov": "^3.6.1",
"css-loader": "^5.0.0",
"eslint": "^7.0.0",
"eslint-config-prettier": "^7.0.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-prettier": "^3.1.1",
"eslint-plugin-react": "^7.17.0",
"eslint-plugin-react-hooks": "^4.0.0",
"eslint-plugin-sonarjs": "^0.5.0",
"happypack": "^5.0.1",
"html-webpack-plugin": "^5.0.0",
"husky": "^4.0.0",
"lerna": "^3.19.0",
"lint-staged": "^10.0.2",
"madge": "^4.0.0",
"nodemon": "^2.0.1",
"nyc": "^15.0.0",
"prettier": "^2.0.1",
"react": "^17.0.0",
"react-dom": "^17.0.0",
"react-test-renderer": "^17.0.0",
"reflect-metadata": "^0.1.13",
"rollup": "^2.0.0",
"shx": "^0.3.2",
"source-map-loader": "^2.0.0",
"style-loader": "^2.0.0",
"ts-loader": "^8.0.0",
"ts-node": "^9.0.0",
"tslint-config-prettier": "^1.18.0",
"typescript": "^4.0.2",
"webpack": "^5.0.0",
"webpack-cli": "^4.0.0",
"webpack-dev-server": "^3.9.0"
},
"lint-staged": {
"*.@(js|ts|tsx)": [
"prettier --write",
"eslint -c .eslintrc.yml --fix",
"git add"
]
},
"prettier": {
"printWidth": 120,
"semi": false,
"trailingComma": "all",
"singleQuote": true,
"arrowParens": "always",
"parser": "typescript"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"ava": {
"compileEnhancements": false,
"extensions": [
"ts"
],
"require": [
"ts-node/register"
],
"files": [
"packages/**/__tests__/*.spec.ts"
],
"sources": [
"packages/**/*.ts"
]
},
"nyc": {
"extension": [
".ts"
],
"include": [
"packages/**/*.ts"
],
"exclude": [
"packages/**/*.spec.ts"
]
},
"resolutions": {
"qs": "^6.9.1"
}
}