-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
94 lines (94 loc) · 2.7 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
86
87
88
89
90
91
92
93
94
{
"version": "1.2.0",
"description": "auto-drawing based zrender",
"author": "xiaofei",
"copyright": "xiaofei",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/l-x-f/auto-drawing.git"
},
"scripts": {
"dev": "cross-env NODE_ENV=development tsx watch ./scripts/build/index.ts",
"build": "cross-env NODE_ENV=production npm run clean && tsx ./scripts/build/index.ts",
"gitcz": "git-cz",
"lint": "eslint ./src --ext .js,.jsx,.ts,.tsx --fix",
"release": "tsx ./scripts/release.ts",
"publish": "sh ./scripts/publish.sh",
"commit": "sh ./scripts/commit.sh",
"clean": "rimraf dist",
"changelog": "conventional-changelog -p custom-config -i CHANGELOG.md -s -r 0 -n changelog.config.js",
"docs:dev": "pnpm run -C docs dev",
"docs:build": "pnpm run -C docs build"
},
"keywords": [
"auto-drawing",
"canvas",
"2d",
"zrender"
],
"dependencies": {
"number-precision": "^1.6.0",
"zrender": "^5.4.4"
},
"devDependencies": {
"@auto-drawing/core": "workspace:*",
"@auto-drawing/types": "workspace:*",
"@auto-drawing/utils": "workspace:*",
"@babel/core": "^7.14.8",
"@babel/preset-env": "^7.14.8",
"@commitlint/cli": "^8.1.0",
"@commitlint/config-conventional": "^8.1.0",
"@rollup/plugin-alias": "^5.1.0",
"@rollup/plugin-replace": "^5.0.1",
"@types/lodash-es": "^4.17.4",
"@typescript-eslint/eslint-plugin": "^5.59.8",
"@typescript-eslint/parser": "^5.59.8",
"chalk": "4.1.2",
"commitizen": "^4.0.3",
"consola": "^3.1.0",
"conventional-changelog-cli": "^2.2.2",
"conventional-changelog-custom-config": "^0.3.1",
"cross-env": "^7.0.3",
"cz-conventional-changelog": "^3.0.2",
"cz-customizable": "^6.2.0",
"enquirer": "^2.3.6",
"eslint": "^7.31.0",
"execa": "5.1.0",
"husky": "^3.0.2",
"lint-staged": "^13.0.3",
"prettier": "^2.4.1",
"rimraf": "^5.0.1",
"rollup": "^3.21.6",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-banner2": "^1.2.2",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-dts": "^6.1.0",
"rollup-plugin-esbuild": "^5.0.0",
"rollup-plugin-eslint": "^7.0.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-typescript2": "^0.34.1",
"semver": "^7.3.7",
"string": "^3.3.3",
"ts-morph": "^21.0.1",
"tsx": "^3.12.7",
"typescript": "^5.0.4",
"vite": "^5.0.12"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"config": {
"commitizen": {
"path": "node_modules/cz-customizable"
}
},
"lint-staged": {
"src/**/*.{js,ts}": [
"npm run lint"
]
}
}