mirror of
https://github.com/strapi/strapi.git
synced 2025-08-23 16:19:37 +00:00
Add prepublish script
This commit is contained in:
parent
4371cf3636
commit
a4fcc75b50
@ -38,7 +38,8 @@ module.exports = scope => {
|
||||
'lint': 'node_modules/strapi-helper-plugin/node_modules/eslint/bin/eslint.js --ignore-path .gitignore --config node_modules/strapi-helper-plugin/lib/internals/eslint/.eslintrc.json admin',
|
||||
'pretest': 'npm run lint',
|
||||
'prettier': 'node_modules/strapi-helper-plugin/node_modules/prettier/bin/prettier.js --single-quote --trailing-comma es5 --write \'{admin,__{tests,mocks}__}/**/*.js\'',
|
||||
'test': 'echo Tests are not implemented.'
|
||||
'test': 'echo Tests are not implemented.',
|
||||
'prepublish': 'npm run build'
|
||||
},
|
||||
'dependencies': {},
|
||||
'devDependencies': {
|
||||
|
@ -41,7 +41,8 @@
|
||||
"lint": "node_modules/strapi-helper-plugin/node_modules/eslint/bin/eslint.js --ignore-path .gitignore --config node_modules/strapi-helper-plugin/lib/internals/eslint/.eslintrc.json admin",
|
||||
"pretest": "npm run lint",
|
||||
"prettier": "node_modules/strapi-helper-plugin/node_modules/prettier/bin/prettier.js --single-quote --trailing-comma es5 --write \"{admin,__{tests,mocks}__}/**/*.js\"",
|
||||
"test": "echo Tests are not implemented."
|
||||
"test": "echo Tests are not implemented.",
|
||||
"prepublish": "npm run build"
|
||||
},
|
||||
"dependencies": {},
|
||||
"devDependencies": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user