Skip to content

Commit

Permalink
refactor(build): align npm scripts
Browse files Browse the repository at this point in the history
- use same naming and order for both files
  • Loading branch information
FabianUntermoser committed Sep 10, 2024
1 parent 64d9a9d commit 0263d03
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
30 changes: 15 additions & 15 deletions cms/package.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,22 @@
{
"name": "cms",
"private": true,
"version": "0.1.0",
"private": true,
"description": "A Strapi application",
"license": "MIT",
"author": {
"name": "A Strapi developer"
},
"scripts": {
"develop": "strapi develop",
"start": "strapi start",
"build": "strapi build",
"strapi": "strapi",
"lint:fix": "eslint --ext ts --ext js . --fix",
"lint": "eslint --ext ts --ext js .",
"format:check": "prettier --check .",
"cs": "config-sync",
"dev": "strapi develop",
"format": "prettier --write .",
"cs": "config-sync"
"format:check": "prettier --check .",
"lint": "eslint --ext ts --ext js .",
"lint:fix": "eslint --ext ts --ext js . --fix",
"start": "strapi start",
"strapi": "strapi"
},
"dependencies": {
"@strapi/plugin-i18n": "4.14.5",
Expand All @@ -36,15 +40,11 @@
"eslint-plugin-unused-imports": "^3.2.0",
"prettier": "^3.2.5"
},
"author": {
"name": "A Strapi developer"
},
"strapi": {
"uuid": "e93b64cb-bc2b-47bf-8169-ad41cb15a0f3"
},
"engines": {
"node": ">=16.0.0 <=20.x.x",
"npm": ">=6.0.0"
},
"license": "MIT"
"strapi": {
"uuid": "e93b64cb-bc2b-47bf-8169-ad41cb15a0f3"
}
}
4 changes: 2 additions & 2 deletions web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"start": "next start",
"lint": "next lint",
"lint:fix": "next lint --fix",
"format:check": "prettier --check .",
"format": "prettier --write ."
"format": "prettier --write .",
"format:check": "prettier --check ."
},
"dependencies": {
"@tabler/icons-react": "^2.45.0",
Expand Down

0 comments on commit 0263d03

Please sign in to comment.