Skip to content

Commit 7ff67a8

Browse files
author
wli
committed
update babel;
1 parent 77968d6 commit 7ff67a8

File tree

2 files changed

+87
-88
lines changed

2 files changed

+87
-88
lines changed

.babelrc

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,12 @@
11
{
2-
"presets": [
3-
["latest", {
4-
"es2015": { "modules": false }
5-
}],
6-
"stage-2"
7-
],
8-
"plugins": ["transform-runtime"],
9-
"comments": false,
10-
"env": {
11-
"test": {
12-
"presets": ["latest", "stage-2"],
13-
"plugins": [ "istanbul" ]
14-
}
15-
}
2+
"presets": [
3+
["env", {
4+
"modules": false,
5+
"targets": {
6+
"browsers": ["> 1%", "last 2 versions", "not ie <= 8"]
7+
}
8+
}],
9+
"stage-2"
10+
],
11+
"plugins": ["transform-vue-jsx", "transform-runtime"]
1612
}

package.json

Lines changed: 77 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -1,76 +1,79 @@
11
{
2-
"name": "vue-pattern-input",
3-
"version": "2.0.1",
4-
"description": "A Vue2.0 Component for limiting user input",
5-
"main": "src/component/vue-pattern-input.vue",
6-
"scripts": {
7-
"dev": "node build/dev-server.js",
8-
"build": "node build/build.js"
9-
},
10-
"repository": {
11-
"type": "git",
12-
"url": "git+https://github.com/RoamIn/vue-pattern-input.git"
13-
},
14-
"keywords": [
15-
"vue",
16-
"input",
17-
"pattern",
18-
"RegExp"
19-
],
20-
"author": "Live",
21-
"license": "MIT",
22-
"bugs": {
23-
"url": "https://github.com/RoamIn/vue-pattern-input/issues"
24-
},
25-
"homepage": "https://github.com/RoamIn/vue-pattern-input#readme",
26-
"dependencies": {
27-
"vue": "^2.2.1"
28-
},
29-
"devDependencies": {
30-
"autoprefixer": "^6.7.2",
31-
"babel-core": "^6.22.1",
32-
"babel-loader": "^6.2.10",
33-
"babel-plugin-transform-runtime": "^6.22.0",
34-
"babel-preset-latest": "^6.22.0",
35-
"babel-preset-stage-2": "^6.22.0",
36-
"babel-register": "^6.22.0",
37-
"chalk": "^1.1.3",
38-
"connect-history-api-fallback": "^1.3.0",
39-
"copy-webpack-plugin": "^4.0.1",
40-
"css-loader": "^0.26.1",
41-
"eventsource-polyfill": "^0.9.6",
42-
"express": "^4.14.1",
43-
"express-http-proxy": "^0.11.0",
44-
"extract-text-webpack-plugin": "^2.0.0",
45-
"file-loader": "^0.10.0",
46-
"friendly-errors-webpack-plugin": "^1.1.3",
47-
"function-bind": "^1.1.0",
48-
"html-webpack-plugin": "^2.28.0",
49-
"http-proxy-middleware": "^0.17.3",
50-
"node-sass": "^4.5.0",
51-
"webpack-bundle-analyzer": "^2.2.1",
52-
"semver": "^5.3.0",
53-
"opn": "^4.0.2",
54-
"optimize-css-assets-webpack-plugin": "^1.3.0",
55-
"ora": "^1.1.0",
56-
"rimraf": "^2.6.0",
57-
"sass-loader": "^6.0.2",
58-
"url-loader": "^0.5.7",
59-
"vue-loader": "11.1.4",
60-
"vue-style-loader": "^2.0.0",
61-
"vue-template-compiler": "^2.2.1",
62-
"webpack": "^2.2.1",
63-
"webpack-dev-middleware": "^1.10.0",
64-
"webpack-hot-middleware": "^2.16.1",
65-
"webpack-merge": "^2.6.1"
66-
},
67-
"engines": {
68-
"node": ">= 4.0.0",
69-
"npm": ">= 3.0.0"
70-
},
71-
"browserlist": [
72-
"> 1%",
73-
"last 2 versions",
74-
"not ie <= 8"
75-
]
2+
"name": "vue-pattern-input",
3+
"version": "2.0.2",
4+
"description": "A Vue2.0 Component for limiting user input",
5+
"main": "src/component/vue-pattern-input.vue",
6+
"scripts": {
7+
"dev": "node build/dev-server.js",
8+
"build": "node build/build.js"
9+
},
10+
"repository": {
11+
"type": "git",
12+
"url": "git+https://github.com/RoamIn/vue-pattern-input.git"
13+
},
14+
"keywords": [
15+
"vue",
16+
"input",
17+
"pattern",
18+
"RegExp"
19+
],
20+
"author": "Live",
21+
"license": "MIT",
22+
"bugs": {
23+
"url": "https://github.com/RoamIn/vue-pattern-input/issues"
24+
},
25+
"homepage": "https://github.com/RoamIn/vue-pattern-input#readme",
26+
"dependencies": {
27+
"vue": "^2.2.1"
28+
},
29+
"devDependencies": {
30+
"autoprefixer": "^6.7.2",
31+
"babel-core": "^6.22.1",
32+
"babel-eslint": "^8.2.1",
33+
"babel-helper-vue-jsx-merge-props": "^2.0.3",
34+
"babel-loader": "^7.1.1",
35+
"babel-plugin-syntax-jsx": "^6.18.0",
36+
"babel-plugin-transform-runtime": "^6.22.0",
37+
"babel-plugin-transform-vue-jsx": "^3.5.0",
38+
"babel-preset-env": "^1.3.2",
39+
"babel-preset-stage-2": "^6.22.0",
40+
"chalk": "^1.1.3",
41+
"connect-history-api-fallback": "^1.3.0",
42+
"copy-webpack-plugin": "^4.0.1",
43+
"css-loader": "^0.26.1",
44+
"eventsource-polyfill": "^0.9.6",
45+
"express": "^4.14.1",
46+
"express-http-proxy": "^0.11.0",
47+
"extract-text-webpack-plugin": "^2.0.0",
48+
"file-loader": "^0.10.0",
49+
"friendly-errors-webpack-plugin": "^1.1.3",
50+
"function-bind": "^1.1.0",
51+
"html-webpack-plugin": "^2.28.0",
52+
"http-proxy-middleware": "^0.17.3",
53+
"node-sass": "^4.5.0",
54+
"opn": "^4.0.2",
55+
"optimize-css-assets-webpack-plugin": "^1.3.0",
56+
"ora": "^1.1.0",
57+
"rimraf": "^2.6.0",
58+
"sass-loader": "^6.0.2",
59+
"semver": "^5.3.0",
60+
"url-loader": "^0.5.7",
61+
"vue-loader": "11.1.4",
62+
"vue-style-loader": "^2.0.0",
63+
"vue-template-compiler": "^2.2.1",
64+
"webpack": "^2.2.1",
65+
"webpack-bundle-analyzer": "^2.2.1",
66+
"webpack-dev-middleware": "^1.10.0",
67+
"webpack-hot-middleware": "^2.16.1",
68+
"webpack-merge": "^2.6.1"
69+
},
70+
"engines": {
71+
"node": ">= 4.0.0",
72+
"npm": ">= 3.0.0"
73+
},
74+
"browserslist": [
75+
"> 1%",
76+
"last 2 versions",
77+
"not ie <= 8"
78+
]
7679
}

0 commit comments

Comments
 (0)