Skip to content

Commit a9c2694

Browse files
author
Antoine Aflalo
committed
fix(Building): Use Vue Cli to build the library
Fixes #27
1 parent e4eb6ec commit a9c2694

2 files changed

Lines changed: 2420 additions & 373 deletions

File tree

package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"type": "git",
77
"url": "git+https://github.com/Belphemur/vue-json-csv.git"
88
},
9-
"main": "dist/JsonCSV.js",
9+
"main": "dist/vue-json-csv.common.js",
1010
"keywords": [
1111
"vue",
1212
"vuejs",
@@ -28,7 +28,7 @@
2828
"commitmsg": "validate-commit-msg",
2929
"semantic-release": "semantic-release",
3030
"test": "jest",
31-
"build": "bili",
31+
"build": "vue-cli-service build --target lib --name vue-json-csv src/JsonCSV.vue",
3232
"dev": "poi --serve",
3333
"build:example": "poi --prod"
3434
},
@@ -57,6 +57,7 @@
5757
},
5858
"files": [
5959
"dist/",
60+
"src/",
6061
"README.md",
6162
"LICENSE"
6263
],
@@ -65,11 +66,12 @@
6566
"@babel/preset-env": "^7.5.5",
6667
"@semantic-release/changelog": "^3.0.4",
6768
"@semantic-release/git": "^7.0.16",
69+
"@vue/cli": "^3.11.0",
70+
"@vue/cli-service": "^3.11.0",
6871
"@vue/test-utils": "^1.0.0-beta.29",
6972
"babel-core": "7.0.0-bridge.0",
7073
"babel-eslint": "^10.0.2",
7174
"babel-jest": "^24.9.0",
72-
"bili": "^4.8.1",
7375
"buefy": "^0.8.2",
7476
"bulma": "^0.7.5",
7577
"cz-conventional-changelog": "^3.0.2",

0 commit comments

Comments
 (0)