update test

This commit is contained in:
shenyu 2021-03-11 14:48:59 +08:00
parent 7af6fda960
commit b7c3ce4f21
3 changed files with 9 additions and 8 deletions

View File

@ -7,4 +7,4 @@ cache:
install: npm install
script: npm run build
script: npm run test

View File

@ -5,7 +5,8 @@
"scripts": {
"dev": "parcel serve source-src/main.js -d source/dist",
"build": "rimraf source/dist && parcel build source-src/main.js -d source/dist --no-source-maps",
"postinstall": "node ./move_config.js"
"postinstall": "node ./move_config.js",
"test": "stylint source-src/css/style.styl -c .stylintrc"
},
"source": "source-src/main.js",
"repository": {
@ -30,7 +31,7 @@
"cssnano": "^4.1.10",
"parcel-bundler": "^1.12.4",
"parcel-plugin-bundle-visualiser": "^1.2.0",
"postcss-modules": "^1.5.0"
},
"dependencies": {}
"postcss-modules": "^1.5.0",
"stylint": "^2.0.0"
}
}

View File

@ -49,7 +49,7 @@ img
max-width 100%
button
outline: none
outline: 0
cursor pointer
@import "_extend"