forked from strapi/LaunchPad
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
44 lines (44 loc) · 1.58 KB
/
package.json
File metadata and controls
44 lines (44 loc) · 1.58 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
{
"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 ./",
"setup:strapi": "cd strapi && yarn && node --loader ts-node/esm ../scripts/copy-env.mts ./",
"setup": "yarn install && 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",
"husky": "^9.1.7",
"lint-staged": "^15.2.10",
"prettier": "^3.5.3",
"ts-node": "^10.9.2"
},
"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"
}