-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
42 lines (42 loc) · 1.71 KB
/
package.json
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
{
"name": "next-strapi-monorepo-starter",
"version": "0.1.5",
"description": "A starter pack to build website with Next.js + Strapi",
"repository": "https://github.com/fyfirman/next-strapi-monorepo-starter/",
"author": "Firmansyah Yanuar <[email protected]>",
"license": "MIT",
"private": true,
"workspaces": [
"packages/*"
],
"scripts": {
"install:backend": "yarn --cwd packages/backend",
"install:frontend": "yarn --cwd packages/frontend",
"install": "cross-env FORCE_COLOR=1 npm-run-all -l -s install:*",
"dev:backend": "yarn --cwd packages/backend dev",
"dev:frontend": "wait-on http://localhost:1337/admin && yarn --cwd packages/frontend dev",
"dev": "cross-env FORCE_COLOR=1 npm-run-all -l -p dev:*",
"build:backend": "yarn --cwd packages/backend build",
"build:frontend": "yarn --cwd packages/frontend build",
"build": "cross-env FORCE_COLOR=1 npm-run-all -l -s build:*",
"start:backend": "yarn --cwd packages/backend start",
"start:frontend": "yarn --cwd packages/frontend start",
"start": "cross-env FORCE_COLOR=1 npm-run-all -l -p start:*",
"lint:frontend": "eslint \"packages/frontend/**/*.{ts,tsx}\"",
"lint:frontend-fix": "eslint --fix \"packages/frontend/**/*.{ts,tsx}\"",
"generate": "graphql-codegen",
"test:frontend": "cd packages/frontend && jest --watch",
"prepare": "husky install"
},
"devDependencies": {
"@commitlint/cli": "^16.0.2",
"@commitlint/config-conventional": "^16.0.0",
"@graphql-codegen/cli": "^2.3.1",
"@graphql-codegen/typescript": "^2.4.2",
"@graphql-codegen/typescript-operations": "^2.2.2",
"cross-env": "^7.0.3",
"husky": "^7.0.0",
"npm-run-all": "^4.1.5",
"wait-on": "^6.0.0"
}
}