|
1 | 1 | { |
2 | 2 | "name": "anki", |
3 | | - "version": "0.0.3", |
| 3 | + "version": "0.0.4", |
4 | 4 | "description": "生成anki卡片", |
5 | 5 | "homepage": "https://github.com/robbinhan/bob-anki", |
6 | 6 | "repository": "https://github.com/robbinhan/bob-anki.git", |
7 | 7 | "author": "robbinhan", |
8 | 8 | "license": "MIT", |
9 | 9 | "main": "src/main.js", |
10 | 10 | "keywords": [ |
| 11 | + "bob-plugin", |
11 | 12 | "bobplugin", |
12 | | - "translate" |
| 13 | + "translate", |
| 14 | + "anki" |
13 | 15 | ], |
14 | 16 | "scripts": { |
15 | 17 | "clear": "rimraf ./dist && rimraf ./release", |
16 | 18 | "initInfo": "node ./scripts/init-info.js", |
17 | 19 | "install": "npm run initInfo", |
18 | 20 | "dev": "cross-env NODE_ENV=development rollup -c rollup.config.js --watch", |
19 | | - "build": "npm run clear && npm run initInfo && cross-env NODE_ENV=production rollup -c && node ./scripts/build-zip.js", |
| 21 | + "build": "npm run clear && npm run initInfo && rollup -c rollup.config.js --configPlugin typescript --bundleConfigAsCjs && node ./scripts/build-zip.js", |
20 | 22 | "type-check": "tsc --noEmit --allowJs", |
21 | 23 | "type-check:watch": "tsc --noEmit --allowJs --watch", |
22 | 24 | "prettier:fix": "prettier --config .prettierrc.js --write .", |
|
26 | 28 | "version": "npm run initInfo && npm run changelog && git add CHANGELOG.md src/info.json" |
27 | 29 | }, |
28 | 30 | "dependencies": { |
29 | | - "@bob-plug/core": "^0.1.3", |
| 31 | + "@bob-plug/core": "^0.1.6", |
30 | 32 | "querystring": "^0.2.1" |
31 | 33 | }, |
32 | 34 | "devDependencies": { |
33 | 35 | "@babel/core": "^7.14.6", |
34 | 36 | "@babel/preset-env": "^7.14.7", |
35 | 37 | "@babel/preset-typescript": "^7.14.5", |
36 | | - "@rollup/plugin-babel": "^5.3.0", |
37 | | - "@rollup/plugin-commonjs": "^19.0.0", |
38 | | - "@rollup/plugin-json": "^4.1.0", |
39 | | - "@rollup/plugin-node-resolve": "^13.0.0", |
| 38 | + "@bob-translate/types": "^1.0.2", |
| 39 | + "@rollup/plugin-babel": "^6.0.4", |
| 40 | + "@rollup/plugin-commonjs": "^28.0.3", |
| 41 | + "@rollup/plugin-json": "^6.1.0", |
| 42 | + "@rollup/plugin-node-resolve": "^16.0.1", |
| 43 | + "@rollup/plugin-typescript": "12.1.2", |
40 | 44 | "@types/eslint-plugin-prettier": "^3.1.0", |
| 45 | + "@types/node": "^22.14.1", |
41 | 46 | "@typescript-eslint/eslint-plugin": "^4.28.2", |
42 | 47 | "@typescript-eslint/parser": "^4.28.2", |
43 | 48 | "adm-zip": "^0.5.5", |
|
52 | 57 | "fs-extra": "^10.0.0", |
53 | 58 | "prettier": "^2.3.2", |
54 | 59 | "rimraf": "^3.0.2", |
55 | | - "rollup": "^2.52.8", |
56 | | - "rollup-plugin-copy": "^3.4.0", |
57 | | - "rollup-plugin-esbuild": "^4.5.0", |
58 | | - "rollup-plugin-polyfill-node": "^0.6.2", |
59 | | - "typescript": "^4.3.5" |
| 60 | + "rollup": "4.40.0", |
| 61 | + "rollup-plugin-copy": "^3.5.0", |
| 62 | + "rollup-plugin-esbuild": "^6.2.1", |
| 63 | + "rollup-plugin-polyfill-node": "^0.13.0", |
| 64 | + "tslib": "^2.8.1", |
| 65 | + "typescript": "5.7.3" |
60 | 66 | } |
61 | 67 | } |
0 commit comments