-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
43 lines (43 loc) · 1.32 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
{
"name": "utils-lib-js",
"version": "1.4.2",
"description": "JavaScript工具函数,封装的一些常用的js函数",
"main": "./dist/common/index.js",
"types": "./dist/common/index.d.ts",
"module": "./dist/esm/index.js",
"exports": {
"import": "./dist/esm/index.js",
"require": "./dist/common/index.js"
},
"scripts": {
"debug:esm": "start cmd /k pnpm run build:hot:esm",
"debug:node": "start cmd /k pnpm run build:hot:node & pnpm run node:hot",
"node:hot": "nodemon server.js",
"build:hot:esm": "tsc -p tsconfig.es.json -w",
"build:hot:node": "tsc -p tsconfig.json -w",
"build": "pnpm run tsc:build && pnpm run babel:mjs && pnpm run babel:cjs",
"tsc:build": "rm -fr dist && tsc -p tsconfig.json && tsc -p tsconfig.es.json",
"build:publish": "pnpm run build && pnpm publish",
"babel:mjs": "babel dist/esm --out-dir dist/esm",
"babel:cjs": "babel dist/common --out-dir dist/common",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "https://gitee.com/DieHunter/utils-lib-js.git"
},
"keywords": [
"utils",
"tools",
"lib"
],
"author": "",
"license": "ISC",
"devDependencies": {
"@types/node": "^18.7.15",
"babel-cli": "^6.26.0"
},
"dependencies": {
"abort-controller": "^3.0.0"
}
}