|
3 | 3 | "version": "1.0.0-beta.35", |
4 | 4 | "files": [ |
5 | 5 | "dist", |
6 | | - "types" |
| 6 | + "types", |
| 7 | + "LICENSE", |
| 8 | + "README.md" |
7 | 9 | ], |
8 | 10 | "engines": { |
9 | 11 | "node": "17.x.x", |
|
23 | 25 | "check-exports": "node ./ci/check-exports.mjs", |
24 | 26 | "check-exports-ci": "node ./ci/check-exports.mjs --ci", |
25 | 27 | "dev": "npm run storybook", |
26 | | - "prebuild": "rimraf dist", |
| 28 | + "clean-dist": "rimraf dist", |
| 29 | + "prebuild": "run-s clean-dist gen-types", |
27 | 30 | "build": "run-p build:css build:js", |
| 31 | + "postbuild": "copyfiles types/composable.d.ts dist/composable.d.ts", |
28 | 32 | "build:css": "node build-css.mjs", |
29 | 33 | "build:js": "cross-env NODE_ENV=production rollup --config rollup.config.js", |
30 | 34 | "demo-app": "vite", |
|
37 | 41 | "storybook": "cross-env NODE_OPTIONS=--openssl-legacy-provider start-storybook -p 6006", |
38 | 42 | "build-storybook": "build-storybook", |
39 | 43 | "prepublishOnly": "npm run build", |
40 | | - "semantic-release": "semantic-release" |
| 44 | + "semantic-release": "semantic-release", |
| 45 | + "typecheck": "vue-tsc --noEmit -p tsconfig.vitest.json --composite false", |
| 46 | + "vite:build": "vite build && tsc -d --emitDeclarationOnly && vue-typegen gen -s src -o types", |
| 47 | + "typegen": "tsc -d --emitDeclarationOnly && vue-typegen gen -s src -o types", |
| 48 | + "vue-tsc": "vue-tsc --declaration --emitDeclarationOnly" |
41 | 49 | }, |
42 | 50 | "dependencies": { |
43 | 51 | "@gouvfr/dsfr": "^1.3.1", |
|
53 | 61 | "@babel/preset-env": "^7.16.11", |
54 | 62 | "@cypress/vite-dev-server": "^2.2.2", |
55 | 63 | "@cypress/vue": "^3.1.1", |
| 64 | + "@rushstack/eslint-patch": "^1.1.0", |
56 | 65 | "@rollup/plugin-alias": "^3.1.9", |
57 | 66 | "@rollup/plugin-babel": "^5.3.1", |
58 | 67 | "@rollup/plugin-commonjs": "^21.0.2", |
|
72 | 81 | "@testing-library/jest-dom": "^5.16.2", |
73 | 82 | "@testing-library/user-event": "^13.5.0", |
74 | 83 | "@testing-library/vue": "^6.5.1", |
| 84 | + "@types/jsdom": "^16.2.14", |
75 | 85 | "@types/jest": "^27.4.1", |
| 86 | + "@types/node": "^16.11.25", |
76 | 87 | "@types/vue": "^2.0.0", |
77 | 88 | "@typescript-eslint/eslint-plugin": "^5.13.0", |
78 | 89 | "@typescript-eslint/parser": "^5.13.0", |
79 | 90 | "@vitejs/plugin-vue": "^2.2.4", |
80 | 91 | "@vitejs/plugin-vue-jsx": "^1.3.8", |
81 | 92 | "@vue/compiler-sfc": "^3.2.31", |
82 | 93 | "@vue/eslint-config-standard": "^6.1.0", |
| 94 | + "@vue/eslint-config-typescript": "^10.0.0", |
83 | 95 | "@vue/test-utils": "^2.0.0-rc.18", |
| 96 | + "@vue/tsconfig": "^0.1.3", |
84 | 97 | "@vue/vue3-jest": "^27.0.0-alpha.4", |
85 | 98 | "autoprefixer": "^10.4.2", |
86 | 99 | "babel-loader": "^8.2.3", |
87 | 100 | "babel-plugin-transform-import-meta": "^2.1.1", |
88 | 101 | "chalk": "^5.0.0", |
| 102 | + "copyfiles": "^2.4.1", |
89 | 103 | "core-js": "^3.21.1", |
90 | 104 | "cross-env": "^7.0.3", |
91 | 105 | "cypress": "^9.5.1", |
|
102 | 116 | "jest": "^27.5.1", |
103 | 117 | "jest-svg-transformer": "^1.0.0", |
104 | 118 | "jest-transform-stub": "^2.0.0", |
| 119 | + "jsdom": "^19.0.0", |
105 | 120 | "lint-staged": "^12.3.4", |
106 | 121 | "mkdirp": "^1.0.4", |
107 | 122 | "npm-run-all": "^4.1.5", |
|
120 | 135 | "rollup-plugin-visualizer": "^5.6.0", |
121 | 136 | "rollup-plugin-vue": "^6.0.0", |
122 | 137 | "semantic-release": "^19.0.2", |
| 138 | + "start-server-and-test": "^1.14.0", |
123 | 139 | "storybook-builder-vite": "^0.1.17", |
124 | 140 | "ts-jest": "^27.1.3", |
125 | 141 | "tsd-jsdoc": "^2.5.0", |
126 | 142 | "typescript": "^4.6.2", |
127 | 143 | "vite": "^2.8.6", |
| 144 | + "vitest": "^0.5.0", |
128 | 145 | "vue-loader": "^17.0.0", |
129 | 146 | "vue-router": "^4.0.13", |
130 | 147 | "vue-router-mock": "^0.1.7", |
| 148 | + "vue-tsc": "^0.32.1", |
| 149 | + "vue-typegen": "^0.2.0", |
131 | 150 | "yorkie": "^2.0.0" |
132 | 151 | }, |
133 | 152 | "peerDependencies": { |
|
0 commit comments