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 install: npm install
script: npm run build script: npm run test

View File

@ -5,7 +5,8 @@
"scripts": { "scripts": {
"dev": "parcel serve source-src/main.js -d source/dist", "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", "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", "source": "source-src/main.js",
"repository": { "repository": {
@ -30,7 +31,7 @@
"cssnano": "^4.1.10", "cssnano": "^4.1.10",
"parcel-bundler": "^1.12.4", "parcel-bundler": "^1.12.4",
"parcel-plugin-bundle-visualiser": "^1.2.0", "parcel-plugin-bundle-visualiser": "^1.2.0",
"postcss-modules": "^1.5.0" "postcss-modules": "^1.5.0",
}, "stylint": "^2.0.0"
"dependencies": {} }
} }

View File

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