@dypnb/dev-tools 1.0.2 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/genPage/index.browser.js +10 -10
- package/dist/genPage/index.cjs.js +10 -10
- package/dist/genSwagger/index.browser.js +10 -10
- package/dist/genSwagger/index.cjs.js +10 -10
- package/dist/publishServer/index.browser.js +12 -10
- package/dist/publishServer/index.cjs.js +12 -10
- package/dist/publishServer/index.esm.js +12 -10
- package/dist/wxServerNotice/index.browser.js +6 -6
- package/dist/wxServerNotice/index.cjs.js +5 -5
- package/dist/wxServerNotice/index.esm.js +4 -4
- package/package.json +11 -5
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@dypnb/dev-tools",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.4",
|
4
4
|
"description": "开发时的提效工具",
|
5
5
|
"main": "lib/bundle.cjs.js",
|
6
6
|
"jsnext:main": "lib/bundle.esm.js",
|
@@ -11,22 +11,28 @@
|
|
11
11
|
"dev": "npx rollup -wc rollup.config.dev.js",
|
12
12
|
"build": "npm run clean && npx rollup -c rollup.config.js",
|
13
13
|
"build:types": "npx tsc",
|
14
|
+
"publishNpm": "npm run build && npm publish",
|
14
15
|
"clean": "rimraf ./dist",
|
15
16
|
"genPage": "node ./dist/genPage/index.js",
|
16
17
|
"docs:dev": "vitepress dev docs --host ",
|
17
18
|
"docs:build": "vitepress build docs",
|
18
19
|
"docs:preview": "vitepress preview docs"
|
19
20
|
},
|
20
|
-
"
|
21
|
-
|
21
|
+
"bin": {
|
22
|
+
"dyp-publish": "node dist/publishServer/index.esm.js",
|
23
|
+
"dyp-genPage": "node dist/genPage/index.esm.js",
|
24
|
+
"dyp-genSwagger": "node dist/genSwagger/index.esm.js"
|
25
|
+
},
|
26
|
+
"dependencies": {
|
22
27
|
"axios": "^1.4.0",
|
23
28
|
"chalk": "4.1.0",
|
24
29
|
"execa": "^5.1.1",
|
25
30
|
"findup-sync": "^5.0.0",
|
26
31
|
"moment": "^2.29.4",
|
27
32
|
"ora": "^5.2.0",
|
28
|
-
"scp2": "^0.5.0"
|
29
|
-
|
33
|
+
"scp2": "^0.5.0"
|
34
|
+
},
|
35
|
+
"devDependencies": {
|
30
36
|
"@babel/core": "^7.22.8",
|
31
37
|
"@rollup/plugin-babel": "^6.0.3",
|
32
38
|
"@rollup/plugin-commonjs": "^25.0.2",
|