-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
135 lines (135 loc) · 3.88 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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
{
"name": "@jairwinl/utils",
"version": "0.0.1",
"author": "[email protected]",
"description": "工具函数",
"keywords": [
"JavaScript",
"工具"
],
"contributors": [
],
"main": "cjs/index.js",
"module": "esm/index.js",
"types": "esm/index.d.ts",
"files": [
"index.d.ts",
"esm/*",
"umd/*",
"cjs/*"
],
"scripts": {
"clean": "rimraf umd cjs esm @types doc coverage",
"build": "NODE_ENV=production pnpm build:js && pnpm build:doc",
"build:dev": "NODE_ENV=development pnpm build:js && pnpm build:doc",
"build:js": "pnpm clean && rollup -c",
"build:types": "tsc --declaration --outDir ./@types --emitDeclarationOnly --allowJs false",
"build:doc": "rimraf _tmp doc && tsc -outDir _tmp && jsdoc -c ./jsdoc.json -d doc && rimraf _tmp && cp -r __docdash doc/ && cp -r doc",
"watch:js": "NODE_ENV=development rollup -c -w",
"pub:patch": "npm version patch && npm publish --access public",
"pub:minor": "npm version minor && npm publish --access public",
"pub:major": "npm version major && npm publish --access public",
"prepare:rollup": "rollup --config",
"test": "vitest",
"test:c": "vitest run --coverage",
"f2elint-scan": "f2elint scan -i src",
"f2elint-fix": "f2elint fix -i src"
},
"license": "ISC",
"dependencies": {
"@babel/runtime": "^7.8.4",
"@types/lodash.isfunction": "^3.0.7",
"@types/lodash.isobjectlike": "^4.0.7",
"@types/lodash.isplainobject": "^4.0.7",
"@types/lodash.isstring": "^4.0.7",
"dayjs": "^1.11.3",
"lodash.isfunction": "^3.0.9",
"lodash.isobjectlike": "^4.0.0",
"lodash.isplainobject": "^4.0.6",
"lodash.isstring": "^4.0.1",
"query-string": "^8.1.0"
},
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.8.4",
"@babel/plugin-external-helpers": "^7.8.3",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/plugin-proposal-object-rest-spread": "^7.8.3",
"@babel/plugin-transform-async-to-generator": "^7.8.3",
"@babel/plugin-transform-destructuring": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.8.3",
"@babel/polyfill": "^7.8.3",
"@babel/preset-env": "^7.8.4",
"@babel/preset-typescript": "^7.8.3",
"@babel/register": "^7.8.3",
"@rollup/plugin-babel": "^5.3.1",
"@rollup/plugin-commonjs": "^11.0.2",
"@rollup/plugin-node-resolve": "^7.1.1",
"@rollup/plugin-replace": "^4.0.0",
"@types/jest": "^28.1.6",
"@types/node": "^17.0.41",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"c8": "^7.11.3",
"core-js": "^3.6.4",
"docdash": "^1.1.1",
"f2elint": "^2.2.1",
"jsdoc": "^3.6.3",
"jsdom": "^19.0.0",
"regenerator-runtime": "0.13.1",
"rimraf": "^3.0.0",
"rollup": "^1.32.1",
"rollup-plugin-dts": "^1.1.11",
"rollup-plugin-multi-input": "^1.0.3",
"rollup-plugin-terser": "^5.2.0",
"rollup-plugin-typescript2": "^0.25.3",
"standard": "^12.0.1",
"tslib": "^2.4.0",
"typescript": "^4.7.3",
"unplugin-auto-import": "^0.8.7",
"vitest": "^0.15.1"
},
"yarn": {
"mode": "pnpm",
"lockfile": "enable"
},
"npm": {
"mode": "pnpm",
"lockfile": "enable"
},
"cnpm": {
"mode": "pnpm",
"lockfile": "enable"
},
"engines": {
"node": ">=14.0.0",
"install-node": "14"
},
"husky": {
"hooks": {
"commit-msg": "f2elint commit-msg-scan",
"pre-commit": "f2elint commit-file-scan"
}
},
"lint-staged": {
"{src,test}/**/*.{js,ts}": [
"pnpm lint",
"git add"
],
"src/**/*.{js,js,ts,ts}": [
"pnpm lint -s --"
]
},
"repository": {
"type": "git",
"url": "git+ssh://[email protected]/Jairwin-L/utils.git"
},
"bugs": {
"url": "https://github.com/Jairwin-L/utils/issues"
},
"homepage": "https://github.com/Jairwin-L/utils#readme",
"directories": {
"doc": "doc",
"test": "test"
}
}