|
2 | 2 | "name": "v-code-diff", |
3 | 3 | "version": "1.5.1", |
4 | 4 | "description": "template component for vue-demi, can dev and build", |
5 | | - "main": "dist/index.cjs", |
6 | | - "module": "dist/index.es.js", |
7 | | - "types": "./types/index.d.ts", |
8 | 5 | "exports": { |
9 | 6 | ".": { |
10 | | - "import": "./dist/index.es.js", |
11 | | - "require": "./dist/index.cjs.js" |
| 7 | + "require": "./dist/index.cjs.js", |
| 8 | + "import": "./dist/index.es.js" |
12 | 9 | } |
13 | 10 | }, |
| 11 | + "main": "dist/index.cjs", |
| 12 | + "module": "dist/index.es.js", |
| 13 | + "types": "./types/index.d.ts", |
14 | 14 | "files": [ |
15 | 15 | "scripts", |
16 | 16 | "dist", |
|
31 | 31 | "dev:2.7": "vue-demi-switch 2.7 vue2 && pnpm --filter vue2.7-playground dev", |
32 | 32 | "dev:3": "vue-demi-switch 3 vue3 && pnpm --filter vue3-playground dev", |
33 | 33 | "dev:demo": "vue-demi-switch 3 vue3 && pnpm --filter demo dev", |
34 | | - "lint:fix": "eslint . --ext .vue,.js,.jsx,.ts,.tsx --fix --ignore-path .gitignore", |
| 34 | + "lint": "eslint .", |
| 35 | + "lint:fix": "eslint . --ext .vue,.js,.jsx,.ts,.tsx,json --fix --ignore-path .gitignore", |
35 | 36 | "postinstall": "node scripts/postinstall.js", |
36 | 37 | "prepublishOnly": "npm run build", |
37 | 38 | "release": "bumpp --commit --no-push --tag && npm publish" |
38 | 39 | }, |
39 | | - "author": "Shimada666<649940882@qq.com>", |
40 | | - "license": "MIT", |
41 | | - "bugs": { |
42 | | - "url": "https://github.com/Shimada666/v-code-diff/issues" |
43 | | - }, |
44 | | - "repository": { |
45 | | - "type": "git", |
46 | | - "url": "git+https://github.com/Shimada666/v-code-diff.git" |
47 | | - }, |
48 | 40 | "peerDependencies": { |
49 | 41 | "@vue/composition-api": "^1.4.9", |
50 | 42 | "vue": "^2.6.0 || >=3.0.0" |
|
66 | 58 | "@types/diff-match-patch": "^1.0.32", |
67 | 59 | "@types/node": "^18.11.18", |
68 | 60 | "bumpp": "^8.2.1", |
69 | | - "eslint": "^8.31.0", |
| 61 | + "eslint": "^8.45.0", |
70 | 62 | "npm-run-all": "^4.1.5", |
71 | 63 | "rimraf": "^3.0.2", |
72 | 64 | "sass": "^1.63.6", |
|
0 commit comments