-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
85 lines (85 loc) · 2.75 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
{
"name": "miniapp-root",
"version": "0.6.4",
"private": true,
"description": "Miniapp is a lightweight framework for QQ/Wechat miniapp.",
"repository": "github.com:miniapp-tool/mptool.git",
"license": "MIT",
"author": {
"name": "Mr.Hope",
"email": "mister-hope@outlook.com",
"url": "https://mrhope.site"
},
"type": "module",
"scripts": {
"build": "cross-env NODE_ENV=production pnpm --stream -r run build",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 2",
"clean": "pnpm --stream -r run clean",
"copy": "tsx scripts/copy-package.ts",
"dev": "cross-env NODE_ENV=production pnpm --stream -r run dev",
"docs:build": "pnpm --dir=docs run docs:build",
"docs:dev": "pnpm --dir=docs run docs:dev",
"postinstall": "husky",
"lint": "pnpm lint:eslint && pnpm lint:prettier",
"lint:eslint": "eslint . --fix",
"lint:prettier": "prettier --check --write .",
"packages:update": "pnpm dlx npm-check-updates -u --deep",
"release": "pnpm release:bump && pnpm clean && pnpm build && pnpm release:publish",
"release:bump": "bumpp -r --execute=\"pnpm commit-and-tag-version && git add CHANGELOG.md\" --commit \"chore(release): publish v%s\" --all --tag --push",
"release:publish": "cross-env NODE_OPTIONS=\"--experimental-json-modules\" tsx scripts/release/index.ts",
"test": "vitest run --coverage"
},
"nano-staged": {
"**/*": "prettier --write --ignore-unknown",
"*.{js,ts}": "eslint --fix"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"devDependencies": {
"@commitlint/cli": "19.3.0",
"@commitlint/config-conventional": "19.2.2",
"@rollup/plugin-commonjs": "26.0.1",
"@rollup/plugin-json": "6.1.0",
"@rollup/plugin-node-resolve": "15.2.3",
"@types/inquirer": "9.0.7",
"@types/node": "20.14.2",
"@vitest/coverage-v8": "1.6.0",
"bumpp": "9.4.1",
"commit-and-tag-version": "12.4.1",
"cz-git": "1.9.2",
"cross-env": "7.0.3",
"cz-conventional-changelog": "3.3.0",
"esbuild": "0.21.4",
"eslint": "8.57.0",
"eslint-config-mister-hope": "0.1.0",
"execa": "9.2.0",
"husky": "9.0.11",
"inquirer": "9.2.23",
"miniprogram-api-typings": "3.12.2",
"nano-staged": "0.8.0",
"ora": "8.0.1",
"picocolors": "1.0.1",
"prettier": "3.3.1",
"rimraf": "5.0.7",
"rollup": "4.18.0",
"rollup-plugin-dts": "6.1.1",
"rollup-plugin-esbuild": "6.1.1",
"sort-package-json": "2.10.0",
"tslib": "2.6.3",
"tsx": "4.13.1",
"typescript": "5.4.5",
"vite": "5.2.11",
"vitest": "1.6.0"
},
"packageManager": "pnpm@9.2.0",
"commit-and-tag-version": {
"skip": {
"bump": true,
"commit": true,
"tag": true
}
}
}