mirror of https://github.com/Kylart/KawAnime.git
Fix scripts for windows
This commit is contained in:
parent
9bf039d9ff
commit
530dd2f4b9
|
@ -50,10 +50,10 @@ $theme := {
|
|||
position absolute
|
||||
|
||||
.config-enter-active
|
||||
animation lightSpeedIn 0.5s
|
||||
animation zoomIn 0.4s
|
||||
|
||||
.config-leave-active
|
||||
animation zoomOut 0.7s
|
||||
animation lightSpeedOut 0.5s
|
||||
|
||||
/**
|
||||
Electron
|
||||
|
|
10
package.json
10
package.json
|
@ -10,15 +10,15 @@
|
|||
},
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"dev": "NODE_ENV=development electron main.js",
|
||||
"start": "NODE_ENV=production electron main.js",
|
||||
"dev": "cross-env NODE_ENV=development electron main.js",
|
||||
"start": "cross-env NODE_ENV=production electron main.js",
|
||||
"bstart": "npm run build && npm start",
|
||||
"build": "rimraf public && npm run build:client && npm run build:server",
|
||||
"build:client": "NODE_ENV=production webpack --config webpack/webpack.client.config.js --hide-modules",
|
||||
"build:server": "NODE_ENV=production webpack --config webpack/webpack.server.config.js --hide-modules",
|
||||
"build:client": "cross-env NODE_ENV=production webpack --config webpack/webpack.client.config.js --hide-modules",
|
||||
"build:server": "cross-env NODE_ENV=production webpack --config webpack/webpack.server.config.js --hide-modules",
|
||||
"cloc": "cloc $(git ls-files | grep -vE \".mkv|mp4|lock\")",
|
||||
"test:server": "nyc ava --verbose --serial test/server.test.js",
|
||||
"test:front": "npm run build && NODE_ENV=KawAnime-test nightwatch",
|
||||
"test:front": "npm run build && cross-env NODE_ENV=KawAnime-test nightwatch",
|
||||
"test": "standard --fix && npm test:front && npm test:server",
|
||||
"coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
|
||||
"lint": "standard --fix --verbose --plugin vue '**/*.{js,vue}' | snazzy -- -s",
|
||||
|
|
Loading…
Reference in New Issue