1
1
mirror of https://github.com/primer/css.git synced 2024-09-20 13:17:29 +03:00

chore: rework test scripts

This commit is contained in:
Shawn Allen 2019-02-04 15:14:05 -08:00
parent 1a5da388cb
commit c1208c2918

View File

@ -20,23 +20,24 @@
],
"scripts": {
"build": "script/build",
"prepare": "npm run build",
"lint": "stylelint --quiet --syntax scss src/**/*.scss",
"start": "next",
"start-storybook": "start-storybook -p 8000 -c .storybook",
"build-storybook": "build-storybook -o build",
"publish-storybook": "npm run storybook && gh-pages -d build -b gh-pages -r https://github.com/primer/storybook",
"postlint": "echo 'TODO: eslint docs pages'",
"test": "jest --passWithNoTests",
"sync": "script/sync",
"watch": "script/sync --watch",
"posttest": "node docs-test/urls.js",
"check-links": "script/check-links http://localhost:3000/css -v",
"test-all-modules": "ava --verbose tests/test-*.js",
"lint": "stylelint --quiet --syntax scss src/**/*.scss",
"now-build": "next build",
"now-start": "next start",
"postlint": "echo 'TODO: eslint docs pages'",
"postpublish": "script/postpublish",
"prepare": "npm run build",
"prepublishOnly": "script/prepublish",
"postpublish": "script/postpublish"
"publish-storybook": "npm run storybook && gh-pages -d build -b gh-pages -r https://github.com/primer/storybook",
"start": "next",
"start-storybook": "start-storybook -p 8000 -c .storybook",
"sync": "script/sync",
"test": "npm-run-all -s test-jest test-urls",
"test-all-modules": "ava --verbose tests/test-*.js",
"test-jest": "jest --passWithNoTests",
"test-urls": "npm run sync && node docs-test/urls.js",
"watch": "script/sync --watch"
},
"devDependencies": {
"@githubprimer/octicons-react": "^8.1.3",