Skip to content

Commit 1a18b4d

Browse files
committed
chore: updated dependencies and scripts
1 parent 369965d commit 1a18b4d

File tree

2 files changed

+5871
-3403
lines changed

2 files changed

+5871
-3403
lines changed

package.json

Lines changed: 22 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,19 @@
11
{
22
"name": "vue-tiny-pagination",
3-
"description": "A Vue component for create a tiny pagination",
4-
"version": "0.2.2",
5-
"author": "Javier Diaz <[email protected]>",
3+
"version": "0.2.3",
4+
"author": {
5+
"name": "Javier Diaz Chamorro",
6+
"email": "[email protected]",
7+
"url": "https://github.com/coderdiaz"
8+
},
69
"license": "MIT",
710
"private": false,
811
"scripts": {
9-
"dev": "cross-env NODE_ENV=development webpack-dev-server --open --hot",
10-
"build": "npm run build:browser && npm run build:es && npm run build:umd",
11-
"build:browser": "rollup --config build/rollup.config.js --format iife --file dist/vue-tiny-pagination.min.js",
12-
"build:es": "rollup --config build/rollup.config.js --format es --file dist/vue-tiny-pagination.esm.js",
13-
"build:umd": "rollup --config build/rollup.config.js --format umd --file dist/vue-tiny-pagination.umd.js",
14-
"compile:docs": "cross-env NODE_ENV=production webpack --progress --hide-modules",
15-
"deploy:docs": "push-dir --dir=public --branch=gh-pages",
16-
"prepublish": "npm test && npm run build",
17-
"test": "jest"
12+
"build": "vue-cli-service build --target lib --name VueTinyPagination packages/TinyPagination/index.js",
13+
"lint": "vue-cli-service lint",
14+
"test:unit": "vue-cli-service test:unit",
15+
"prepare": "yarn test:unit && yarn build"
1816
},
19-
"main": "dist/vue-tiny-pagination.umd.js",
20-
"module": "dist/vue-tiny-pagination.esm.js",
21-
"unpkg": "dist/vue-tiny-pagination.min.js",
2217
"repository": {
2318
"type": "git",
2419
"url": "git+https://github.com/coderdiaz/vue-tiny-pagination.git"
@@ -38,53 +33,19 @@
3833
"component"
3934
],
4035
"dependencies": {
41-
"axios": "^0.17.1",
42-
"spectre.css": "^0.5.0",
43-
"vue": "^2.5.11"
36+
"vue": "^2.5.17"
4437
},
45-
"browserslist": [
46-
"> 1%",
47-
"last 2 versions",
48-
"not ie <= 8"
49-
],
5038
"devDependencies": {
51-
"babel-core": "^6.26.0",
52-
"babel-jest": "^22.2.2",
53-
"babel-loader": "^7.1.2",
54-
"babel-preset-env": "^1.6.0",
55-
"babel-preset-stage-3": "^6.24.1",
56-
"cross-env": "^5.0.5",
57-
"css-loader": "^0.28.7",
58-
"file-loader": "^1.1.4",
59-
"jest": "^22.2.2",
60-
"jest-serializer-vue": "^0.3.0",
61-
"node-sass": "^4.5.3",
62-
"push-dir": "^0.4.1",
63-
"rollup": "^0.57.1",
64-
"rollup-plugin-buble": "^0.19.2",
65-
"rollup-plugin-uglify-es": "0.0.1",
66-
"rollup-plugin-vue": "^3.0.0",
67-
"sass-loader": "^6.0.6",
68-
"vue-jest": "^2.1.0",
69-
"vue-loader": "^13.0.5",
70-
"vue-server-renderer": "^2.5.13",
71-
"vue-template-compiler": "^2.4.4",
72-
"vue-test-utils": "^1.0.0-beta.11",
73-
"webpack": "^3.6.0",
74-
"webpack-dev-server": "^2.9.1"
75-
},
76-
"jest": {
77-
"moduleFileExtensions": [
78-
"js",
79-
"vue"
80-
],
81-
"transform": {
82-
"^.+\\.js$": "<rootDir>/node_modules/babel-jest",
83-
".*\\.(vue)$": "<rootDir>/node_modules/vue-jest"
84-
},
85-
"snapshotSerializers": [
86-
"<rootDir>/node_modules/jest-serializer-vue"
87-
],
88-
"mapCoverage": true
39+
"@vue/cli-plugin-babel": "^3.0.5",
40+
"@vue/cli-plugin-eslint": "^3.0.5",
41+
"@vue/cli-plugin-unit-jest": "^3.0.5",
42+
"@vue/cli-service": "^3.0.5",
43+
"@vue/eslint-config-airbnb": "^3.0.5",
44+
"@vue/test-utils": "^1.0.0-beta.20",
45+
"babel-core": "7.0.0-bridge.0",
46+
"babel-jest": "^23.0.1",
47+
"node-sass": "^4.9.0",
48+
"sass-loader": "^7.0.1",
49+
"vue-template-compiler": "^2.5.17"
8950
}
9051
}

0 commit comments

Comments
 (0)