fix: try to deploy as package...

This commit is contained in:
Braks
2021-07-09 21:54:05 +02:00
parent 5eff860573
commit 99548a0dba
39 changed files with 161 additions and 120 deletions
+13 -3
View File
@@ -17,10 +17,10 @@
],
"scripts": {
"dev": "vite",
"build": "vue-tsc --noEmit && vite build",
"build": "vue-tsc --noEmit && vite build && yarn build:dist",
"build:dist": "rollup -c --environment NODE_ENV:production && postcss src/*.css --dir dist",
"serve": "vite preview",
"prepublishOnly": "yarn build:dist",
"prepublishOnly": "yarn build",
"test": "exit 0;",
"lint:js": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix --ignore-path .gitignore .",
"lint": "yarn lint:js"
@@ -28,7 +28,7 @@
"dependencies": {
"d3": "^7.0.0",
"pinia": "^2.0.0-beta.3",
"vue": "^3.0.5"
"vue-demi": "^0.10.1"
},
"devDependencies": {
"@babel/core": "^7.14.6",
@@ -65,8 +65,18 @@
"rollup-plugin-typescript2": "^0.30.0",
"typescript": "^4.3.5",
"vite": "^2.3.8",
"vue": "^3.0.5",
"vue-tsc": "^0.0.24"
},
"peerDependencies": {
"@vue/composition-api": "^1.0.0-rc.1",
"vue": "^2.0.0 || >=3.0.0"
},
"peerDependenciesMeta": {
"@vue/composition-api": {
"optional": true
}
},
"publishConfig": {
"access": "public",
"registry": "http://registry.npmjs.org/"