-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
89 lines (89 loc) · 2.54 KB
/
Copy pathpackage.json
File metadata and controls
89 lines (89 loc) · 2.54 KB
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
{
"name": "@widget-js/cli",
"type": "module",
"version": "26.7.22",
"private": false,
"author": "Neo Fu",
"license": "MIT",
"main": "dist/index.js",
"bin": {
"widget": "dist/index.js"
},
"engines": {
"node": "^12.0.0 || >= 14.0.0"
},
"files": [
"dist",
"template"
],
"scripts": {
"prebuild": "release --date-version",
"prepublish": "release --check-deps",
"build": "tsup-node src/index.ts",
"watch": "tsup-node src/index.ts --watch",
"build:run": "npm run build && npm run widget",
"widget": "node ./dist/index.js",
"widget:init": "node ./dist/index.js init",
"widget:publish": "node ./dist/index.js publish -key 123",
"widget:create": "npm run build && node ./dist/index.js create",
"widget:local": "npm run build && node ./dist/index.js dependencies -t local",
"widget:remote": "node ./dist/index.js dependencies -t remote",
"build:publish": "npm run build && npm run pnpm:publish",
"pnpm:publish": "pnpm publish --no-git-checks",
"remote": "widget dependencies -t remote && pnpm install",
"local": "widget dependencies -t local && pnpm install",
"link": "pnpm link --global",
"lint": "eslint .",
"lint:fix": "eslint . --fix"
},
"publishConfig": {
"access": "public"
},
"peerDependencies": {
"@widget-js/core": ">=26"
},
"dependencies": {
"@widget-js/utils": "^24.1.1-beta.72",
"ali-oss": "^6.17.1",
"archiver": "^5.3.1",
"axios": "^1.7.2",
"chalk": "^4.1.2",
"change-case": "^4.1.2",
"commander": "^9.4.1",
"consola": "^2.15.3",
"dirname-filename-esm": "^1.1.1",
"ejs": "^3.1.8",
"fast-glob": "^3.3.2",
"figlet": "^1.5.2",
"gradient-string": "^2.0.2",
"inquirer": "^8.2.6",
"minimatch": "^9.0.3",
"ora": "^6.2.0",
"package-json": "^10.0.1",
"prettier": "^3.1.1",
"semver": "^7.5.2",
"shelljs": "^0.8.5"
},
"devDependencies": {
"@types/archiver": "^5.3.1",
"@antfu/eslint-config": "^2.21.1",
"@types/ali-oss": "^6.16.7",
"@types/ejs": "latest",
"@types/figlet": "^1.5.5",
"@types/gradient-string": "^1.1.2",
"@types/inquirer": "latest",
"@types/minimist": "^1.2.5",
"@types/node": "^18.11.13",
"@types/semver": "^7.5.0",
"@types/shelljs": "latest",
"@widget-js/core": "^26.7.24",
"@widget-js/vite-plugin-widget": "^24.1.1-beta.72",
"@widget-js/vue3": "^24.1.1-beta.74",
"eslint": "8.48.0",
"tsup": "^8.3.5",
"typescript": "^5.2.2",
"vite": "^7.1.11",
"vitest": "^3.2.4",
"vue-router": "^4.2.5"
}
}