mirror of
https://github.com/Didericis/bare-bundle-transform-plugin-babel.git
synced 2026-06-26 09:55:21 -04:00
chore: update prettier scripts and fix lint issues
This commit is contained in:
+17
-5
@@ -12,12 +12,13 @@
|
|||||||
"author": "Didericis",
|
"author": "Didericis",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "npm run lint && npm run test:build-project && npm run test:build-bundles && bare test/bare.js",
|
"test": "npm run prettier:lint && npm run test:build-project && npm run test:build-bundles && bare test/bare.js",
|
||||||
"test:build-project": "cd test/project && npm install",
|
"test:build-project": "cd test/project && npm install",
|
||||||
"test:build-bundles": "mkdir -p test/bundles && npm run test:build-default-bundle && npm run test:build-plugin-bundle",
|
"test:build-bundles": "mkdir -p test/bundles && npm run test:build-default-bundle && npm run test:build-plugin-bundle",
|
||||||
"test:build-default-bundle": "cd test/project && bare-pack app.js -o ../bundles/default.bundle",
|
"test:build-default-bundle": "cd test/project && bare-pack app.js -o ../bundles/default.bundle",
|
||||||
"test:build-plugin-bundle": "cd test/project && bare-pack app.js | bare-bundle-transform --plugin ../../index.js -o ../bundles/plugin.bundle",
|
"test:build-plugin-bundle": "cd test/project && bare-pack app.js | bare-bundle-transform --plugin ../../index.js -o ../bundles/plugin.bundle",
|
||||||
"lint": "prettier . --check"
|
"prettier:lint": "prettier . --check",
|
||||||
|
"prettier:fix": "prettier . --write"
|
||||||
},
|
},
|
||||||
"prettier": "prettier-config-standard",
|
"prettier": "prettier-config-standard",
|
||||||
"imports": {
|
"imports": {
|
||||||
@@ -37,11 +38,22 @@
|
|||||||
{
|
{
|
||||||
"preset": "angular",
|
"preset": "angular",
|
||||||
"releaseRules": [
|
"releaseRules": [
|
||||||
{ "type": "docs", "scope": "README", "release": "patch" },
|
{
|
||||||
{ "type": "refactor", "release": "patch" }
|
"type": "docs",
|
||||||
|
"scope": "README",
|
||||||
|
"release": "patch"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "refactor",
|
||||||
|
"release": "patch"
|
||||||
|
}
|
||||||
],
|
],
|
||||||
"parserOpts": {
|
"parserOpts": {
|
||||||
"noteKeywords": ["BREAKING CHANGE", "BREAKING CHANGES", "MANUAL BUMP"]
|
"noteKeywords": [
|
||||||
|
"BREAKING CHANGE",
|
||||||
|
"BREAKING CHANGES",
|
||||||
|
"MANUAL BUMP"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user