Merge pull request #466 from ElemeFE/unittest
Unittest
Showing
build/cooking.test.js
0 → 100644
| ... | ... | @@ -19,7 +19,9 @@ |
| "pub:all": "npm run dist:all && lerna publish", | ||
| "build:utils": "babel src/utils --out-dir lib/utils", | ||
| "clean": "rimraf lib && rimraf packages/*/lib", | ||
| "lint": "eslint src/**/*.js packages/**/*.{js,vue} build/**/*.js --quiet" | ||
| "lint": "eslint src/**/* test/**/* packages/**/*.{js,vue} build/**/* --quiet", | ||
| "test:watch": "karma start test/unit/karma.conf.js", | ||
| "test": "karma start test/unit/karma.conf.js --single-run" | ||
| }, | ||
| "repository": { | ||
| "type": "git", | ||
| ... | ... | @@ -31,6 +33,7 @@ |
| "vue", | ||
| "components" | ||
| ], | ||
| "license": "MIT", | ||
| "bugs": { | ||
| "url": "https://github.com/ElemeFE/element/issues" | ||
| }, | ||
| ... | ... | @@ -50,6 +53,7 @@ |
| "babel-plugin-syntax-jsx": "^6.8.0", | ||
| "babel-plugin-transform-vue-jsx": "^3.1.0", | ||
| "babel-preset-es2015": "^6.14.0", | ||
| "chai": "^3.5.0", | ||
| "cheerio": "^0.18.0", | ||
| "cooking": "^1.1.0", | ||
| "cooking-lint": "^0.1.3", | ||
| ... | ... | @@ -66,15 +70,30 @@ |
| "highlight.js": "^9.3.0", | ||
| "html-loader": "^0.4.3", | ||
| "html-webpack-plugin": "^2.22.0", | ||
| "inject-loader": "^3.0.0-beta2", | ||
| "isparta-loader": "^2.0.0", | ||
| "json-loader": "^0.5.4", | ||
| "json-templater": "^1.0.4", | ||
| "karma": "^1.3.0", | ||
| "karma-coverage": "^1.1.1", | ||
| "karma-mocha": "^1.2.0", | ||
| "karma-phantomjs-launcher": "^1.0.2", | ||
| "karma-sinon-chai": "^1.2.4", | ||
| "karma-sourcemap-loader": "^0.3.7", | ||
| "karma-spec-reporter": "0.0.26", | ||
| "karma-webpack": "^1.8.0", | ||
| "lerna": "2.0.0-beta.18", | ||
| "lolex": "^1.5.1", | ||
| "markdown-it": "^6.1.1", | ||
| "markdown-it-container": "^2.0.0", | ||
| "mocha": "^3.1.1", | ||
| "phantomjs-prebuilt": "^2.1.13", | ||
| "postcss": "^5.1.2", | ||
| "postcss-loader": "^0.11.1", | ||
| "postcss-salad": "^1.0.5", | ||
| "rimraf": "^2.5.4", | ||
| "sinon": "^1.17.6", | ||
| "sinon-chai": "^2.8.0", | ||
| "style-loader": "^0.13.1", | ||
| "theaterjs": "^3.0.0", | ||
| "uppercamelcase": "^1.1.0", | ||
| ... | ... |
test/unit/.eslintrc
0 → 100644
test/unit/index.js
0 → 100644
test/unit/karma.conf.js
0 → 100644
test/unit/util.js
0 → 100644
Please register or sign in to comment