-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
68 lines (68 loc) · 1.95 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
{
"name": "root",
"private": true,
"devDependencies": {
"@babel/cli": "^7.5.5",
"@babel/core": "^7.5.5",
"@babel/node": "^7.8.4",
"@babel/plugin-transform-runtime": "^7.5.5",
"@babel/preset-env": "^7.5.5",
"@dking/eslint-config-typescript": "^0.0.5",
"@rollup/plugin-commonjs": "^11.0.2",
"@rollup/plugin-json": "^4.0.0",
"@rollup/plugin-node-resolve": "^7.1.1",
"@rollup/plugin-replace": "^2.2.1",
"@rollup/plugin-typescript": "^3.0.0",
"@types/node": "^12.7.5",
"@typescript-eslint/eslint-plugin": "^2.13.0",
"@typescript-eslint/parser": "^2.13.0",
"async": "^3.2.0",
"autoprefixer": "^9.7.4",
"del": "^5.1.0",
"eslint": "^6.8.0",
"eslint-import-resolver-typescript": "^2.0.0",
"eslint-plugin-import": "^2.19.1",
"eslint-plugin-promise": "^4.2.1",
"husky": "^2.3.0",
"lerna": "^3.20.2",
"less": "^3.11.1",
"lint-staged": "^8.1.7",
"rollup": "^1.21.4",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-postcss": "^2.0.6",
"rollup-plugin-typescript2": "^0.24.3",
"typescript": "^3.7.5"
},
"scripts": {
"build:babel": "babel src --out-dir lib",
"build:rollup": "rollup -c",
"build:ts": "tsc --build",
"lint": "eslint packages/**/src/*.ts --ext .jsx --ext .js --ext .tsx --ext .ts --cache --fix",
"watch:rollup": "babel-node ./scripts/watch.js",
"watch:ts": "tsc --watch",
"clean:lib": "babel-node ./scripts/clean.js"
},
"lint-staged": {
"packages/**/src/*.{jsx,js,ts,tsx}": [
"eslint packages/**/src/*.ts --ext .jsx --ext .js --ext .tsx --ext .ts --cache --fix",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"prettier": {
"printWidth": 80,
"tabWidth": 4,
"semi": true,
"singleQuote": true,
"trailingComma": "es5",
"proseWrap": "preserve"
},
"dependencies": {
"@babel/runtime-corejs3": "^7.5.5",
"@types/webtorrent": "^0.107.1"
}
}