a tool to build project with webpack + es6 and test with karma + mocha
npm install -g karma
npm install
// we can creat the folder by the file.json, such as:
{
"build": {
"sass": "build/sass",
"css": "build/css",
"icon": "build/icon"
"img": "build/img",
"es6": "build/es6",
"js": "build/js"
},
"dist": {
"js": "dist/js",
"css": "dist/css",
"img": "dist/img"
}
}
the config folder contains all the config file, the test folder contains all the test file
npm run dev
npm run test
npm run build