@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dypnb/dev-tools",
3
- "version": "1.0.2",
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
- "dependencies": {},
21
- "devDependencies": {
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",