-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
executable file
·135 lines (135 loc) · 4.18 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
{
"name": "snowball-ui",
"private": true,
"keywords": [],
"license": "ISC",
"author": "",
"workspaces": [
"packages/*"
],
"files": [
"dist",
"types.d.ts"
],
"scripts": {
"new": "esno script/new",
"bootstrap": "pnpm i",
"test": "vitest",
"test:ui": "vitest --ui",
"format": "prettier --write --cache .",
"lint": "eslint . --ext .vue,.js,.ts,.jsx,.tsx,.md,.json --max-warnings 0 --cache",
"lint:fix": "pnpm lint --fix",
"lint:commit": "commitlint --from $(git merge-base origin/dev HEAD) --to HEAD > ./commit-lint.txt",
"test:coverage": "vitest --coverage",
"dev": "pnpm -C playground dev",
"preinstall": "npx only-allow pnpm",
"dts": "esno script/gen-dts && pnpm types",
"types": "esno script/bootstrap",
"postpublish": "pinst --enable",
"build": "rimraf dist && pnpm build:full && pnpm build:theme && pnpm build:module && esno script/gen-pkg && esno script/bootstrap && pnpm format",
"build:full": "esno build/full-bundle.ts",
"build:module": "esno build/modules",
"build:theme": "pnpm run -C packages/theme-chalk build",
"docs:dev": "pnpm -C docs dev",
"docs:build": "pnpm -C docs docs:build",
"typecheck:web": "vue-tsc -p tsconfig.web.json --composite false --noEmit",
"prepare": "husky install"
},
"dependencies": {
"@babel/core": "7.0.0",
"@commitlint/cli": "^17.2.0",
"@commitlint/config-conventional": "^17.2.0",
"@rollup/plugin-babel": "^5.2.2",
"@rollup/plugin-commonjs": "^17.0.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^11.0.0",
"@rollup/plugin-replace": "^2.3.4",
"@snowball/components": "workspace:^1.0.0",
"@snowball/directives": "workspace:^1.0.0",
"@snowball/hooks": "workspace:^1.0.0",
"@snowball/locale": "workspace:^1.0.0",
"@snowball/theme-chalk": "workspace:^1.0.0",
"@snowball/utils": "workspace:^1.0.0",
"@typescript-eslint/eslint-plugin": "^5.42.0",
"@typescript-eslint/parser": "^5.42.0",
"@vue/compiler-sfc": "*",
"esbuild": ">=0.13",
"eslint": "^8.26.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsonc": "^2.5.0",
"eslint-plugin-markdown": "^3.0.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-vue": "^9.7.0",
"esno": "^0.16.3",
"fast-glob": "^3.2.7",
"husky": "^8.0.1",
"jsonc-eslint-parser": "^2.1.0",
"lint-staged": "^13.0.3",
"rimraf": "^3.0.2",
"rollup-plugin-css-only": "^2.1.0",
"rollup-plugin-esbuild": "^4.5.0",
"rollup-plugin-filesize": "^9.1.1",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-scss": "^2.6.1",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.29.0",
"rollup-plugin-vue": "^6.0.0",
"shelljs": "^0.8.5",
"vite": ">=2.5.10 <3.0.0"
},
"devDependencies": {
"@snowball/build": "workspace:^1.0.0",
"@snowball/tokens": "workspace:^1.0.0",
"@types/fs-extra": "^9.0.13",
"@types/jsdom": "^20.0.0",
"@types/lodash-es": "^4.17.6",
"@types/node": "^18.7.16",
"@vitejs/plugin-vue": "^2.3.3",
"@vitejs/plugin-vue-jsx": "^1.3.10",
"@vitest/ui": "0.16.0",
"@vue/test-utils": "^2.0.2",
"@vueuse/core": "^9.1.0",
"c8": "^7.12.0",
"chalk": "^5.0.1",
"consola": "^2.15.3",
"file-save": "^0.2.0",
"fs-extra": "^10.1.0",
"husky": "^8.0.0",
"jsdom": "^20.0.0",
"lodash-unified": "^1.0.3",
"magic-string": "^0.26.3",
"name-case-transform": "^1.0.6",
"pinst": "^3.0.0",
"prettier": "^2.7.1",
"rollup": "^2.75.7",
"sass": "^1.53.0",
"snowball-ui": "workspace:^0.0.1",
"ts-morph": "^14.0.0",
"typescript": "^4.7.4",
"unplugin-vue-define-options": "^0.6.1",
"unplugin-vue-macros": "^0.16.3",
"uppercamelcase": "^3.0.0",
"vitest": "0.12.6",
"vue": "3.2.39",
"vue-tsc": "^0.38.2"
},
"pnpm": {
"peerDependencyRules": {
"ignoreMissing": [
"react",
"react-dom"
]
}
},
"lint-staged": {
"*.{vue,js,ts,jsx,tsx,mjs,cjs}": [
"eslint --fix",
"prettier --write"
],
"*.{json,md}": [
"prettier --write"
]
}
}