try add test file

This commit is contained in:
Harvey Zack committed 2018-11-06 17:26:22 +08:00
1 parent 844d118b80
commit 0fee4186a2
5 files changed
+20 -6

No files matched your search

+11 -2
View File
@@ -7,7 +7,7 @@
"scripts": {
"dev": "cross-env NODE_ENV=development rollup -c -m -w",
"build": "cross-env NODE_ENV=production rollup -c",
"test": "cross-env NODE_ENV=test test"
"test": "cross-env NODE_ENV=test ava"
},
"repository": {
"type": "git",
@@ -28,9 +28,12 @@
"@babel/plugin-external-helpers": "^7.0.0",
"@babel/plugin-transform-runtime": "^7.1.0",
"@babel/preset-env": "^7.1.0",
"@babel/register": "^7.0.0",
"@babel/runtime": "^7.1.2",
"babel-core": "^7.0.0-bridge.0",
"autoprefixer": "^9.3.1",
"ava": "1.0.0-rc.1",
"babel-core": "^7.0.0-bridge.0",
"browser-env": "^3.2.5",
"cross-env": "^5.2.0",
"cssnano": "^4.1.7",
"node-sass": "^4.9.4",
@@ -50,5 +53,11 @@
"option-validator": "^1.1.0",
"screenfull": "^3.3.3",
"tiny-emitter": "^2.0.2"
},
"ava": {
"require": [
"./test/helpers/register.js",
"./test/helpers/setup-browser-env.js"
]
}
}