-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
73 lines (73 loc) · 2.51 KB
/
Copy pathpackage.json
File metadata and controls
73 lines (73 loc) · 2.51 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
{
"name": "web-tracking",
"version": "1.0.0",
"description": "网页埋点工具",
"main": "index.js",
"type": "module",
"scripts": {
"build": "rimraf dist && rollup -c rollup.config.js --package=core,browser",
"build:core": "rimraf dist && rollup -c rollup.config.js --package=core",
"build:browser": "rimraf dist && rollup -c rollup.config.js --package=browser",
"commit": "git add . && git-cz",
"push": "npm run commit && git push",
"build-publish": "npm run build && npm run push && npm run publish",
"lint": "eslint --ignore-pattern test/*",
"husky:prepare": "husky install",
"change:npm": "nrm use npm",
"publish": "npx lerna publish",
"publish:cur": "npx lerna publish from-package",
"publish:cur-no-tag": "npx lerna publish from-package --no-git-tag-version --no-push",
"publish:cur-browser": "npx lerna publish from-package",
"publish:force": "npx lerna publish --force-publish",
"publish:major": "npx lerna publish major",
"publish:minor": "npx lerna publish minor",
"publish:patch": "npx lerna publish patch",
"publish:pre": "npx lerna publish --pre-dist-tag prerelease",
"list": "npx lerna list",
"changed": "npx lerna changed"
},
"keywords": [],
"author": "",
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.25.2",
"@babel/preset-env": "^7.25.4",
"@eslint/js": "^9.11.0",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^26.0.1",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.6",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^9.11.0",
"eslint-define-config": "^2.1.0",
"globals": "^15.9.0",
"husky": "^9.1.6",
"lerna": "^7.4.2",
"lint-staged": "^15.2.10",
"prettier": "3.3.3",
"rollup-plugin-dts": "^6.1.1",
"typescript": "^5.6.2",
"typescript-eslint": "^8.6.0"
},
"workspaces": {
"packages": [
"packages/*"
]
},
"husky": {
"hooks": {
"commit-msg": "npm run lint"
}
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog",
"defaultScope": "global"
}
},
"dependencies": {
"web-tracking": "file:"
}
}