-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
96 lines (96 loc) · 3.62 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
{
"name": "@intlify/bridging",
"description": "Utilities that provide compatibility for Vue 2 & Vue 3",
"version": "1.1.0",
"author": {
"name": "kazuya kawaguchi",
"email": "kawakazu80@gmail.com"
},
"bugs": {
"url": "https://github.com/inlitify/bridging/issues"
},
"devDependencies": {
"@secretlint/secretlint-rule-preset-recommend": "^7.0.7",
"@types/js-yaml": "^4.0.5",
"@types/node": "^20.6.0",
"@typescript-eslint/eslint-plugin": "^6.6.0",
"@typescript-eslint/parser": "^6.6.0",
"bumpp": "^9.2.0",
"eslint": "^8.49.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"globby": "^12.0.2",
"jiti": "^1.20.0",
"js-yaml": "^4.1.0",
"lint-staged": "^14.0.1",
"mlly": "^1.4.2",
"node-actionlint": "^1.2.1",
"npm-run-all": "^4.1.5",
"pathe": "^1.1.1",
"pkg-types": "^1.0.2",
"playwright": "^1.40.1",
"prettier": "^3.0.3",
"rimraf": "^3.0.2",
"secretlint": "^7.0.7",
"typescript": "^5.2.2"
},
"engines": {
"node": ">= 14.6"
},
"license": "MIT",
"lint-staged": {
"*.{json,md,yml}": [
"prettier --write"
],
"*.{js,vue}": [
"prettier --write",
"eslint --fix --ext .js"
],
"*.ts?(x)": [
"prettier --parser=typescript --write",
"eslint --fix --ext .ts"
],
"*": [
"secretlint"
]
},
"private": true,
"repository": {
"type": "git",
"url": "git+https://github.com/intlify/bridging.git"
},
"scripts": {
"build": "echo build!",
"format:fix": "run-p \"format:prettier --write\"",
"format:prettier": "prettier --config .prettierrc --ignore-path .prettierignore --list-different '**/*.{js,mjs,json,html}'",
"lint": "run-p lint:action lint:codes",
"lint:action": "node-actionlint",
"lint:codes": "eslint --config .eslintrc.cjs --ext .js,.mjs,.ts,.vue ./packages",
"lint:fix": "run-p \"lint:codes --fix\"",
"lint:secret": "npx secretlint \"**/*\"",
"fix": "run-p lint:fix format:fix",
"install:i18n8": "cd examples/vue-i18n-v8-vue2 && npm install",
"install:i18n9": "cd examples/vue-i18n-v9-vue3 && npm install",
"install:router3": "cd examples/vue-router-v3-vue2 && npm install",
"install:router36": "cd examples/vue-router-v36-vue2 && npm install",
"install:router4": "cd examples/vue-router-v4-vue3 && npm install",
"setup:examples": "run-p \"install:*\"",
"play:i18n8": "cd examples/vue-i18n-v8-vue2 && npm run dev",
"play:i18n9": "cd examples/vue-i18n-v9-vue3 && npm run dev",
"play:router3": "cd examples/vue-router-v3-vue2 && npm run dev",
"play:router36": "cd examples/vue-router-v36-vue2 && npm run dev",
"play:router4": "cd examples/vue-router-v4-vue3 && npm run dev",
"test": "run-p \"test:*\"",
"test:i18n8": "cd examples/vue-i18n-v8-vue2 && npx --no-install vue-demi-switch 2 && npx --no-install vue-i18n-switch 8 && npm test",
"test:i18n9": "cd examples/vue-i18n-v9-vue3 && npx --no-install vue-i18n-switch 9 && npm test",
"test:router3": "cd examples/vue-router-v3-vue2 && npx --no-install vue-demi-switch 2 && npx --no-install vue-router-switch 3 && npm test",
"test:router36": "cd examples/vue-router-v36-vue2 && npx --no-install vue-demi-switch 2 && npx --no-install vue-router-switch 3 && npm test",
"test:router4": "cd examples/vue-router-v4-vue3 && npx --no-install vue-router-switch 4 && npm test",
"release": "bumpp package.json packages/**/package.json --commit \"release: v\" --push --tag",
"prepare": "git config --local core.hooksPath .githooks",
"preinstall": "node ./scripts/preinstall.mjs"
},
"workspaces": [
"packages/*"
]
}