-
Notifications
You must be signed in to change notification settings - Fork 212
Expand file tree
/
Copy pathpackage.json
More file actions
46 lines (46 loc) · 1.63 KB
/
package.json
File metadata and controls
46 lines (46 loc) · 1.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
"name": "strapi-next-launchpad-example",
"version": "1.0.0",
"description": "Next.js Launchpad Example powered by Strapi",
"type": "module",
"scripts": {
"prepare": "husky",
"next": "yarn dev --prefix ../next/",
"strapi": "yarn dev --prefix ../strapi/",
"setup:next": "cd next && yarn && node --loader ts-node/esm ../scripts/copy-env.mts ../next",
"setup:strapi": "cd strapi && yarn && node --loader ts-node/esm ../scripts/copy-env.mts ../strapi",
"setup": "yarn && yarn setup:next && yarn setup:strapi",
"dev": "yarn concurrently \"cd strapi && yarn develop\" \"npx wait-on http://localhost:1337 && cd next && yarn dev\"",
"seed": "cd strapi && yarn strapi import -f ./data/export_20250116105447.tar.gz --force",
"export": "cd strapi && yarn strapi export --no-encrypt -f ./data/export_20250116105447",
"repo:upstream": "git fetch upstream && git merge upstream/main",
"check:format": "prettier . --check --cache",
"fix:format": "prettier . --write --cache",
"fix": "yarn fix:format",
"lint-staged": "lint-staged"
},
"dependencies": {
"@types/node": "^22.5.2",
"concurrently": "^8.2.2",
"typescript": "^5.0.0",
"wait-on": "^8.0.1"
},
"devDependencies": {
"@trivago/prettier-plugin-sort-imports": "^5.2.2",
"dotenv": "^17.2.3",
"husky": "^9.1.7",
"lint-staged": "^15.2.10",
"prettier": "^3.5.3",
"ts-node": "^10.9.2",
"uuid": "^13.0.0"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,json,md,yml,yaml}": [
"yarn fix:format"
],
"next/**/*.{js,jsx,ts,tsx}": [
"cd next && yarn lint --fix"
]
},
"packageManager": "yarn@4.5.0"
}