Skip to content

Commit 20012fd

Browse files
committed
add tests
1 parent 93ab3c9 commit 20012fd

File tree

4 files changed

+19710
-6
lines changed

4 files changed

+19710
-6
lines changed

package.json

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"main": "index.js",
66
"scripts": {
77
"build": "webpack --config example/webpack.config.js",
8-
"dev": "webpack --config example/webpack.config.js --watch"
8+
"dev": "webpack --config example/webpack.config.js --watch",
9+
"test": "webpack --config test/webpack.config.js && mocha test/test.build.js"
910
},
1011
"repository": {
1112
"type": "git",
@@ -24,10 +25,12 @@
2425
},
2526
"homepage": "https://github.com/vuejs/vue-classy#readme",
2627
"devDependencies": {
27-
"babel-core": "^5.6.7",
28-
"babel-loader": "^5.2.0",
29-
"node-libs-browser": "^0.5.2",
30-
"vue": "^1.0.4",
31-
"webpack": "^1.9.12"
28+
"babel-core": "^5.8.0",
29+
"babel-loader": "^5.3.3",
30+
"chai": "^3.5.0",
31+
"mocha": "^2.4.5",
32+
"node-libs-browser": "^1.0.0",
33+
"vue": "^1.0.16",
34+
"webpack": "^1.12.12"
3235
}
3336
}

0 commit comments

Comments
 (0)