Skip to content

Commit 15aaa61

Browse files
committed
chore: update prettier scripts and fix lint issues
1 parent c396087 commit 15aaa61

1 file changed

Lines changed: 17 additions & 5 deletions

File tree

package.json

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,13 @@
1212
"author": "Didericis",
1313
"license": "Apache-2.0",
1414
"scripts": {
15-
"test": "npm run lint && npm run test:build-project && npm run test:build-bundles && bare test/bare.js",
15+
"test": "npm run prettier:lint && npm run test:build-project && npm run test:build-bundles && bare test/bare.js",
1616
"test:build-project": "cd test/project && npm install",
1717
"test:build-bundles": "mkdir -p test/bundles && npm run test:build-default-bundle && npm run test:build-plugin-bundle",
1818
"test:build-default-bundle": "cd test/project && bare-pack app.js -o ../bundles/default.bundle",
1919
"test:build-plugin-bundle": "cd test/project && bare-pack app.js | bare-bundle-transform --plugin ../../index.js -o ../bundles/plugin.bundle",
20-
"lint": "prettier . --check"
20+
"prettier:lint": "prettier . --check",
21+
"prettier:fix": "prettier . --write"
2122
},
2223
"prettier": "prettier-config-standard",
2324
"imports": {
@@ -37,11 +38,22 @@
3738
{
3839
"preset": "angular",
3940
"releaseRules": [
40-
{ "type": "docs", "scope": "README", "release": "patch" },
41-
{ "type": "refactor", "release": "patch" }
41+
{
42+
"type": "docs",
43+
"scope": "README",
44+
"release": "patch"
45+
},
46+
{
47+
"type": "refactor",
48+
"release": "patch"
49+
}
4250
],
4351
"parserOpts": {
44-
"noteKeywords": ["BREAKING CHANGE", "BREAKING CHANGES", "MANUAL BUMP"]
52+
"noteKeywords": [
53+
"BREAKING CHANGE",
54+
"BREAKING CHANGES",
55+
"MANUAL BUMP"
56+
]
4557
}
4658
}
4759
],

0 commit comments

Comments
 (0)