|
7 | 7 | "license": "MIT", |
8 | 8 | "scripts": { |
9 | 9 | "build:affected": "nx affected --target=build --parallel=5", |
10 | | - "build:executors": "tsc --project tools/tsconfig.json", |
11 | | - "build:icons": "node ./tools/ui-icons.js", |
| 10 | + "build:icons": "ts-node -P ./tools/tsconfig.json ./tools/ui-icons.ts", |
12 | 11 | "build:vscode-extension": "nx build vscode-extension && cd dist/packages/vscode-extension && yarn install && vsce package --yarn", |
13 | | - "check-update": "yarn upgrade-interactive --latest", |
14 | 12 | "lint:affected": "nx affected --target=lint --parallel=5", |
15 | 13 | "lint:style": "stylelint **/*.{css,scss,html,md}", |
16 | 14 | "lint:style:fix": "yarn lint:style --fix", |
17 | 15 | "prepare": "husky install && chmod ug+x .husky/*", |
18 | 16 | "prepublishOnly": "nx run-many --target=build --parallel=5 --exclude=site,vscode-extension", |
19 | | - "prepublish:vscode-extension": "yarn build:vscode-extension", |
20 | | - "publish:vscode-extension": "cd dist/packages/vscode-extension && vsce publish --yarn", |
21 | | - "site:serve": "nx serve site", |
22 | | - "sort-package-json": "npx sort-package-json 'package.json' 'packages/*/package.json'", |
| 17 | + "publish:vscode-extension": "yarn build:vscode-extension && cd dist/packages/vscode-extension && vsce publish --yarn", |
| 18 | + "serve:site": "nx serve site", |
23 | 19 | "test:affected": "nx affected --target=test --parallel=5", |
24 | | - "version": "npx prettier lerna.json --write", |
25 | | - "watch:vscode-extension": "nx build vscode-extension --watch" |
| 20 | + "util:check-update": "yarn upgrade-interactive --latest", |
| 21 | + "util:sort-package-json": "npx sort-package-json 'package.json' 'packages/*/package.json'", |
| 22 | + "version": "npx prettier lerna.json --write" |
26 | 23 | }, |
27 | | - "dependencies": { |
| 24 | + "devDependencies": { |
28 | 25 | "@ant-design/icons-svg": "^4.2.1", |
29 | 26 | "@commitlint/cli": "^17.0.3", |
30 | 27 | "@commitlint/config-conventional": "^17.0.3", |
31 | 28 | "@nrwl/cli": "14.5.6", |
| 29 | + "@nrwl/cypress": "14.5.6", |
32 | 30 | "@nrwl/eslint-plugin-nx": "14.5.6", |
33 | 31 | "@nrwl/jest": "14.5.6", |
34 | 32 | "@nrwl/linter": "14.5.6", |
|
50 | 48 | "@types/react": "^18.0.17", |
51 | 49 | "@types/react-dom": "^18.0.6", |
52 | 50 | "@types/vscode": "^1.70.0", |
| 51 | + "@types/yaml-front-matter": "^4.1.0", |
53 | 52 | "@typescript-eslint/eslint-plugin": "^5.33.0", |
54 | 53 | "@typescript-eslint/parser": "^5.33.0", |
55 | 54 | "@vscode/test-electron": "^2.1.5", |
| 55 | + "axios": "^0.27.2", |
| 56 | + "axios-mock-adapter": "^1.21.2", |
56 | 57 | "babel-jest": "^27.5.1", |
57 | 58 | "codesandbox": "^2.2.3", |
58 | 59 | "core-js": "^3.24.1", |
| 60 | + "cypress": "^10.2.0", |
59 | 61 | "dayjs": "^1.11.5", |
60 | 62 | "eslint": "^8.22.0", |
61 | 63 | "eslint-config-prettier": "^8.5.0", |
| 64 | + "eslint-plugin-cypress": "^2.10.3", |
62 | 65 | "eslint-plugin-import": "^2.26.0", |
63 | 66 | "eslint-plugin-jsdoc": "^39.3.6", |
64 | 67 | "eslint-plugin-jsx-a11y": "^6.6.1", |
|
0 commit comments