-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
79 lines (79 loc) · 2.02 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
{
"name": "@huolala-tech/preload-js",
"version": "1.0.0",
"description": "页面数据预请求与缓存",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "dist/esm/index.d.ts",
"license": "MIT",
"engines": {
"node": ">=10"
},
"repository": {
"type": "git",
"url": "https://github.com/HuolalaTech/preload-js"
},
"keywords": [
"preload-js",
"preload",
"cache-request"
],
"scripts": {
"build": "yarn run build:lib && yarn run test",
"build:lib": "yarn run clean && rollup -c",
"start": "rollup -c --watch",
"watch": "rollup -c --watch",
"test": "jest",
"test:coverage": "jest --coverage",
"prettier": "prettier --write '**/*.{js,jsx,tsx,ts,md,json}'",
"clean": "rm -rf dist",
"commit": "git-cz",
"release:major": "standard-version --release-as major",
"release:minor": "standard-version --release-as minor",
"release:patch": "standard-version --release-as patch",
"release:rc": "standard-version --prerelease rc"
},
"dependencies": {
"@babel/runtime": "^7.13.0"
},
"devDependencies": {
"@babel/core": "^7.14.0",
"@babel/plugin-transform-runtime": "^7.14.2",
"@babel/preset-env": "^7.14.1",
"@babel/preset-typescript": "^7.13.0",
"@rollup/plugin-babel": "^5.3.0",
"@types/jest": "^29.4.0",
"git-cz": "^4.7.6",
"jest": "^29.4.1",
"lint-staged": "^10.5.4",
"prettier": "^2.2.1",
"rollup": "^2.47.0",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-typescript2": "^0.31.2",
"standard-version": "^9.1.1",
"ts-jest": "^29.0.5",
"typescript": "^4.6.0",
"yorkie": "^2.0.0"
},
"gitHooks": {
"pre-commit": "lint-staged"
},
"lint-staged": {
"*.{js,jsx,less,md,json}": [
"prettier --write"
],
"*.ts?(x)": [
"prettier --parser=typescript --write"
]
},
"prettier": {
"singleQuote": true,
"trailingComma": "all",
"printWidth": 80
},
"browserslist": [
">0.2%",
"not dead",
"not op_mini all"
]
}