|
2 | 2 | "name": "vue-apollo", |
3 | 3 | "version": "2.1.0-beta.8", |
4 | 4 | "description": "Vue apollo integration", |
5 | | - "main": "lib/index.js", |
| 5 | + "main": "dist/main.min.js", |
6 | 6 | "scripts": { |
7 | | - "compile": "babel --presets es2015,stage-0 -d lib/ src/", |
8 | | - "prepublish": "npm run compile", |
| 7 | + "build": "rimraf ./dist && ./node_modules/.bin/rollup -c", |
| 8 | + "prepublish": "npm run build", |
9 | 9 | "dev": "npm-watch" |
10 | 10 | }, |
11 | 11 | "watch": { |
12 | | - "compile": "src/*.js" |
| 12 | + "build": "src/*.js" |
13 | 13 | }, |
14 | 14 | "repository": { |
15 | 15 | "type": "git", |
|
38 | 38 | "devDependencies": { |
39 | 39 | "babel-cli": "^6.14.0", |
40 | 40 | "babel-eslint": "^7.1.1", |
41 | | - "babel-preset-es2015": "^6.14.0", |
42 | | - "babel-preset-stage-0": "^6.16.0", |
| 41 | + "babel-preset-stage-0": "^6.24.1", |
43 | 42 | "eslint": "^3.12.1", |
44 | 43 | "eslint-config-standard": "^7.1.0", |
45 | 44 | "eslint-plugin-promise": "^3.4.0", |
46 | 45 | "eslint-plugin-standard": "^2.0.1", |
47 | | - "npm-watch": "^0.1.6" |
| 46 | + "npm-watch": "^0.1.6", |
| 47 | + "rimraf": "^2.6.1", |
| 48 | + "rollup": "^0.41.6", |
| 49 | + "rollup-plugin-babel": "^2.7.1", |
| 50 | + "rollup-plugin-commonjs": "^8.0.2", |
| 51 | + "rollup-plugin-node-resolve": "^3.0.0", |
| 52 | + "rollup-plugin-uglify": "^1.0.2", |
| 53 | + "uglify-js-harmony": "^2.7.7" |
48 | 54 | } |
49 | 55 | } |
0 commit comments