Skip to content

Commit

Permalink
ci: update package scripts and commitlint config
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-capsule42 committed Jul 27, 2024
1 parent 6ee92d6 commit cd54ff7
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,17 @@
]
},
"scripts": {
"build": "npm-run-all build:version build:sass sass:render types",
"build:test": "npm-run-all test linters",
"build:release": "npm-run-all build build:api build:docs bundler postinstall",
"build": "npm-run-all build:version build:sass sass:render types",
"build:api": "wca analyze 'src/auro-badge.js' --outFiles docs/api.md",
"build:ci": "npm-run-all sweep build:release",
"build:dev:assets": "npm-run-all build:sass:component postCss:component sass:render",
"build:docs": "node scripts/generateDocs.mjs",
"build:api": "wca analyze 'src/auro-badge.js' --outFiles docs/api.md",
"build:release": "npm-run-all build build:api build:docs bundler postinstall",
"build:sass": "npm-run-all build:sass:component postCss:component sass:render",
"build:sass:dev": "npm-run-all build:sass:component postCss:component sass:render",
"build:sass:component": "sass --no-source-map src:src",
"build:test": "npm-run-all test linters",
"build:version": "node scripts/version.mjs",
"build:watch": "nodemon -e scss,js --watch src --exec npm run build:dev:assets",
"bundler": "rollup -c",
"bundle:test": "rollup -c -w",
Expand All @@ -109,10 +113,6 @@
"linters": "npm-run-all cssLint esLint",
"test": "wtr --coverage",
"test:watch": "wtr --watch",
"build:sass": "npm-run-all build:sass:component postCss:component sass:render",
"build:sass:dev": "npm-run-all build:sass:component postCss:component sass:render",
"build:sass:component": "sass --no-source-map src:src",
"build:version": "node scripts/version.mjs",
"postCss:component": "node ./scripts/postCss.mjs",
"serve": "web-dev-server --open demo/ --node-resolve --watch",
"prepare": "husky",
Expand Down Expand Up @@ -159,7 +159,10 @@
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
],
"rules": {
"footer-max-line-length": [1, "always", 100]
}
},
"publishConfig": {
"access": "public"
Expand Down

0 comments on commit cd54ff7

Please sign in to comment.