/
package.json
75 lines (75 loc) · 2.01 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
{
"name": "vue-number-roll",
"type": "module",
"version": "3.1.1",
"private": false,
"author": "lvjiaxuan <471501748@qq.com> (https://github.com/lvjiaxuan)",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/lvjiaxuan/vue-number-roll"
},
"keywords": [
"vue",
"vue2",
"vue3",
"vue2/3",
"vue-number-roll",
"vue-demi"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
}
},
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"dev": "concurrently \"nr -C=playgrounds/vue3 dev\" \"nr u --watch\"",
"build": "unbuild && nr u && nr inject:css",
"preview:vue3": "nr -C=playgrounds/vue3 preview",
"preview:vue2": "nr -C=playgrounds/vue2 preview",
"u": "unocss src/index.ts -o=dist/index.css",
"r": "lvr --pkg --main-pkg --no-push",
"build:deploy": "node ./scripts/buildDeploy.mjs",
"build:pkg": "nr build && nr inject:pkg",
"build:publish": "nr build",
"inject:css": "node ./scripts/injectCSS.mjs",
"inject:pkg": "node ./scripts/injectPkg.mjs",
"lint": "npx oxlint . && eslint .",
"lint:fix": "npx oxlint . --fix && eslint . --fix",
"prepublishOnly": "nr build",
"prepare": "nr build:pkg && concurrently \"ni -C=playgrounds/vue3\" \"ni -C=playgrounds/vue2\""
},
"peerDependencies": {
"@vue/composition-api": "^1.7.2",
"vue": "^2.0.0 || >=3.0.0"
},
"peerDependenciesMeta": {
"@vue/composition-api": {
"optional": true
}
},
"dependencies": {
"vue-demi": "^0.14.7"
},
"devDependencies": {
"@lvjiaxuan/eslint-config": "^1.10.1",
"@tsconfig/node20": "^20.1.4",
"@types/node": "^20.12.11",
"@unocss/cli": "^0.60.2",
"@vue/tsconfig": "^0.5.1",
"concurrently": "^8.2.2",
"eslint": "^9.2.0",
"execa": "^9.0.2",
"typescript": "^5.4.5",
"unbuild": "^2.0.0",
"vue": "^3.4.27"
}
}