Skip to content

New build process #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 15 commits into from
Apr 2, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: updated dependencies and scripts
  • Loading branch information
coderdiaz committed Oct 29, 2018
commit 1a18b4d4a3b08bef5f19a1df160b109bf63876ac
83 changes: 22 additions & 61 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,19 @@
{
"name": "vue-tiny-pagination",
"description": "A Vue component for create a tiny pagination",
"version": "0.2.2",
"author": "Javier Diaz <[email protected]>",
"version": "0.2.3",
"author": {
"name": "Javier Diaz Chamorro",
"email": "[email protected]",
"url": "https://github.com/coderdiaz"
},
"license": "MIT",
"private": false,
"scripts": {
"dev": "cross-env NODE_ENV=development webpack-dev-server --open --hot",
"build": "npm run build:browser && npm run build:es && npm run build:umd",
"build:browser": "rollup --config build/rollup.config.js --format iife --file dist/vue-tiny-pagination.min.js",
"build:es": "rollup --config build/rollup.config.js --format es --file dist/vue-tiny-pagination.esm.js",
"build:umd": "rollup --config build/rollup.config.js --format umd --file dist/vue-tiny-pagination.umd.js",
"compile:docs": "cross-env NODE_ENV=production webpack --progress --hide-modules",
"deploy:docs": "push-dir --dir=public --branch=gh-pages",
"prepublish": "npm test && npm run build",
"test": "jest"
"build": "vue-cli-service build --target lib --name VueTinyPagination packages/TinyPagination/index.js",
"lint": "vue-cli-service lint",
"test:unit": "vue-cli-service test:unit",
"prepare": "yarn test:unit && yarn build"
},
"main": "dist/vue-tiny-pagination.umd.js",
"module": "dist/vue-tiny-pagination.esm.js",
"unpkg": "dist/vue-tiny-pagination.min.js",
"repository": {
"type": "git",
"url": "git+https://github.com/coderdiaz/vue-tiny-pagination.git"
Expand All @@ -38,53 +33,19 @@
"component"
],
"dependencies": {
"axios": "^0.17.1",
"spectre.css": "^0.5.0",
"vue": "^2.5.11"
"vue": "^2.5.17"
},
"browserslist": [
"> 1%",
"last 2 versions",
"not ie <= 8"
],
"devDependencies": {
"babel-core": "^6.26.0",
"babel-jest": "^22.2.2",
"babel-loader": "^7.1.2",
"babel-preset-env": "^1.6.0",
"babel-preset-stage-3": "^6.24.1",
"cross-env": "^5.0.5",
"css-loader": "^0.28.7",
"file-loader": "^1.1.4",
"jest": "^22.2.2",
"jest-serializer-vue": "^0.3.0",
"node-sass": "^4.5.3",
"push-dir": "^0.4.1",
"rollup": "^0.57.1",
"rollup-plugin-buble": "^0.19.2",
"rollup-plugin-uglify-es": "0.0.1",
"rollup-plugin-vue": "^3.0.0",
"sass-loader": "^6.0.6",
"vue-jest": "^2.1.0",
"vue-loader": "^13.0.5",
"vue-server-renderer": "^2.5.13",
"vue-template-compiler": "^2.4.4",
"vue-test-utils": "^1.0.0-beta.11",
"webpack": "^3.6.0",
"webpack-dev-server": "^2.9.1"
},
"jest": {
"moduleFileExtensions": [
"js",
"vue"
],
"transform": {
"^.+\\.js$": "<rootDir>/node_modules/babel-jest",
".*\\.(vue)$": "<rootDir>/node_modules/vue-jest"
},
"snapshotSerializers": [
"<rootDir>/node_modules/jest-serializer-vue"
],
"mapCoverage": true
"@vue/cli-plugin-babel": "^3.0.5",
"@vue/cli-plugin-eslint": "^3.0.5",
"@vue/cli-plugin-unit-jest": "^3.0.5",
"@vue/cli-service": "^3.0.5",
"@vue/eslint-config-airbnb": "^3.0.5",
"@vue/test-utils": "^1.0.0-beta.20",
"babel-core": "7.0.0-bridge.0",
"babel-jest": "^23.0.1",
"node-sass": "^4.9.0",
"sass-loader": "^7.0.1",
"vue-template-compiler": "^2.5.17"
}
}
Loading