mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-17 06:20:12 +01:00
Add npm script "ci" for continuous integration scenarios.
This commit is contained in:
parent
f748dc4b01
commit
2fb2a66c49
2 changed files with 3 additions and 3 deletions
|
|
@ -42,6 +42,5 @@ steps:
|
|||
|
||||
- script: |
|
||||
npm install --no-package-lock
|
||||
npm test
|
||||
npm run lint
|
||||
displayName: 'npm install and test'
|
||||
npm run ci
|
||||
displayName: 'npm install and run ci'
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@
|
|||
"test-extra": "nodeunit test/markdownlint-test-extra.js",
|
||||
"debug": "node debug node_modules/nodeunit/bin/nodeunit",
|
||||
"lint": "eslint lib helpers test schema && eslint --env browser --global markdownit --global markdownlint --rule \"no-unused-vars: 0, no-extend-native: 0, max-statements: 0, no-console: 0, no-var: 0\" demo && eslint --rule \"no-console: 0, no-invalid-this: 0, no-shadow: 0, object-property-newline: 0\" example",
|
||||
"ci": "npm run test && npm run lint && npm run test-cover",
|
||||
"build-config-schema": "node schema/build-config-schema.js",
|
||||
"build-demo": "cpy node_modules/markdown-it/dist/markdown-it.min.js demo && cd demo && rimraf markdownlint-browser.* && cpy file-header.js . --rename=markdownlint-browser.js && tsc --allowJs --resolveJsonModule --outDir ../lib-es3 ../lib/markdownlint.js && cpy ../helpers/package.json ../lib-es3/helpers && browserify ../lib-es3/lib/markdownlint.js --standalone markdownlint >> markdownlint-browser.js && uglifyjs markdownlint-browser.js --compress --mangle --comments --output markdownlint-browser.min.js",
|
||||
"build-example": "npm install --no-save --ignore-scripts grunt grunt-cli gulp through2",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue