gscan 4.23.0 → 4.23.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gscan",
|
|
3
|
-
"version": "4.23.
|
|
3
|
+
"version": "4.23.1",
|
|
4
4
|
"description": "Scans Ghost themes looking for errors, deprecations, features and compatibility",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ghost",
|
|
@@ -29,12 +29,12 @@
|
|
|
29
29
|
"scripts": {
|
|
30
30
|
"start": "node app/index.js",
|
|
31
31
|
"dev": "NODE_ENV=development DEBUG=gscan:* nodemon",
|
|
32
|
-
"lint": "eslint
|
|
32
|
+
"lint": "eslint . --ext .js --cache",
|
|
33
33
|
"test": "NODE_ENV=testing mocha -- $(find test -name '*.test.js')",
|
|
34
34
|
"posttest": "yarn lint",
|
|
35
35
|
"coverage": "NODE_ENV=testing istanbul cover --dir test/coverage _mocha -- $(find test -name '*.test.js')",
|
|
36
36
|
"preship": "yarn test",
|
|
37
|
-
"ship": "yarn publish && git push ${GHOST_UPSTREAM:-upstream} main --follow-tags"
|
|
37
|
+
"ship": "STATUS=$(git status --porcelain); echo $STATUS; if [ -z \"$STATUS\" ]; then yarn publish && git push ${GHOST_UPSTREAM:-upstream} main --follow-tags; fi"
|
|
38
38
|
},
|
|
39
39
|
"bin": {
|
|
40
40
|
"gscan": "./bin/cli.js"
|