forked from belgattitude/nextjs-monorepo-example
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
84 lines (84 loc) · 3.65 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{
"name": "nextjs-monorepo-example",
"license": "MIT",
"private": true,
"homepage": "https://github.com/belgattitude/nextjs-monorepo-example",
"repository": {
"type": "git",
"url": "https://github.com/belgattitude/nextjs-monorepo-example"
},
"author": {
"name": "Vanvelthem Sébastien",
"url": "https://github.com/belgattitude"
},
"keywords": [
"example",
"workspace",
"nextjs",
"next-transpile-modules"
],
"workspaces": [
"apps/*",
"packages/*"
],
"scripts": {
"clean": "rimraf '.cache/*' && yarn workspaces foreach -ptv run clean",
"test": "run-s 'test:*'",
"test:unit": "yarn workspaces foreach -ptv run test:unit",
"ci-test:unit": "yarn workspaces foreach -tv run ci-test:unit",
"fix:staged-files": "yarn workspaces foreach -t run fix:staged-files",
"fix:all-files": "yarn workspaces foreach -ptv run fix:all-files",
"changeset": "changeset",
"release": "yarn build && changeset publish",
"deps:check": "yarn dlx npm-check-updates --configFileName ncurc.yml --deep --dep prod,dev,optional",
"deps:update": "yarn dlx npm-check-updates --configFileName ncurc.yml -u --deep --dep prod,dev,optional",
"typecheck": "yarn workspaces foreach -ptv run typecheck",
"lint": "yarn workspaces foreach -ptv run lint --color",
"check:install": "yarn dlx @yarnpkg/doctor@^3.1.0 .",
"share:static:symlink": "yarn workspaces foreach -pv --include '*-app' run share:static:symlink",
"share:static:hardlink": "yarn workspaces foreach -pv --include '*-app' run share:static:hardlink",
"apps:build": "yarn workspaces foreach -ptv --include '*-app' run build",
"apps:clean": "yarn workspaces foreach -ptv --include '*-app' run clean",
"packages:build": "yarn workspaces foreach -ptv --include '@your-org/*' run build",
"packages:test:unit": "yarn workspaces foreach -ptv --include '@your-org/*' run test:unit",
"packages:ci-test:unit": "yarn workspaces foreach -tv --include '@your-org/*' run ci-test:unit",
"packages:lint": "yarn workspaces foreach -ptv --include '@your-org/*' run lint",
"packages:typecheck": "yarn workspaces foreach -ptv --include '@your-org/*' run typecheck",
"packages:clean": "yarn workspaces foreach -ptv --include '@your-org/*' run clean",
"postinstall": "is-ci || yarn husky install",
"docker:up": "docker-compose up -d",
"docker:up:main-db": "docker-compose up -d main-db",
"docker:down": "docker-compose down",
"docker:nuke:all": "yarn docker:clean:containers && yarn docker:clean:images && yarn docker:clean:volumes",
"docker:nuke:images": "docker image rm -f $(docker image ls -q)",
"docker:nuke:containers": "docker container rm -f $(docker container ls -qa)",
"docker:nuke:volumes": "docker volume rm $(docker volume ls -q)",
"?nuke:node_modules": "remove all node_modules folders present under the root",
"nuke:node_modules": "rimraf '**/node_modules'",
"check:renovate:config": "docker run -v renovate.json5:/usr/src/app/renovate.json5 -it renovate/renovate renovate-config-validator"
},
"devDependencies": {
"@changesets/changelog-github": "0.4.1",
"@changesets/cli": "2.17.0",
"@commitlint/cli": "14.1.0",
"@commitlint/config-conventional": "14.1.0",
"eslint": "7.32.0",
"husky": "7.0.4",
"is-ci": "3.0.1",
"lint-staged": "11.2.6",
"npm-run-all": "4.1.5",
"prettier": "2.4.1",
"rimraf": "3.0.2",
"shell-quote": "1.7.3"
},
"resolutions": {
"@types/i18next-fs-backend": "1.1.0",
"i18next": "^20.6.1"
},
"engines": {
"node": "^14.13.1 || >=16.0.0",
"yarn": ">=1.22.0",
"npm": "please-use-yarn"
},
"packageManager": "yarn@3.2.0-rc.2"
}