mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 20:03:12 +03:00
Added frontend lint comand in package.json
no issue
- The command was a missing bit for changes introduced in e10e71cc26
This commit is contained in:
parent
e10e71cc26
commit
c7c64bdee5
@ -28,8 +28,9 @@
|
|||||||
"ci:regression": "grunt test-regression --verbose",
|
"ci:regression": "grunt test-regression --verbose",
|
||||||
"setup": "yarn install && knex-migrator init && grunt symlink && grunt init || true",
|
"setup": "yarn install && knex-migrator init && grunt symlink && grunt init || true",
|
||||||
"lint:server": "eslint --ignore-path .eslintignore 'core/server/**/*.js' 'core/*.js' '*.js'",
|
"lint:server": "eslint --ignore-path .eslintignore 'core/server/**/*.js' 'core/*.js' '*.js'",
|
||||||
|
"lint:frontend": "eslint --ignore-path .eslintignore 'core/frontend/**/*.js'",
|
||||||
"lint:test": "eslint -c core/test/.eslintrc.json --ignore-path core/test/.eslintignore 'core/test/**/*.js'",
|
"lint:test": "eslint -c core/test/.eslintrc.json --ignore-path core/test/.eslintignore 'core/test/**/*.js'",
|
||||||
"lint": "yarn lint:server && yarn lint:test",
|
"lint": "yarn lint:server && yarn lint:frontend && yarn lint:test",
|
||||||
"posttest": "yarn lint",
|
"posttest": "yarn lint",
|
||||||
"fixmodulenotdefined": "yarn cache clean && cd core/client && rm -rf node_modules tmp dist && yarn && cd ../../",
|
"fixmodulenotdefined": "yarn cache clean && cd core/client && rm -rf node_modules tmp dist && yarn && cd ../../",
|
||||||
"postinstall": "cpy node_modules/@tryghost/members-theme-bindings/build/members-theme-bindings.js core/server/public/"
|
"postinstall": "cpy node_modules/@tryghost/members-theme-bindings/build/members-theme-bindings.js core/server/public/"
|
||||||
|
Loading…
Reference in New Issue
Block a user