Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
60 lines (60 loc) · 1.82 KB
/
Copy pathpackage.json
File metadata and controls
60 lines (60 loc) · 1.82 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
"name": "nextjs-starter-kit",
"version": "0.1.0",
"private": true,
"engines": {
"node": "24.x"
},
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint && prettier --check .",
"generate-schema": "dotenv -c -- bash -c 'gql.tada generate schema https://graphql.datocms.com --header \"X-Exclude-Invalid: true\" --header \"Authorization: $DATOCMS_PUBLISHED_CONTENT_CDA_TOKEN\" && gql.tada generate-output'",
"generate-cma-types": "dotenv -c -- bash -c 'npx datocms schema:generate src/lib/datocms/cma-types.ts --api-token $DATOCMS_CMA_TOKEN'",
"format": "npx prettier . --write",
"prepare": "npx simple-git-hooks && npm run generate-schema && npm run generate-cma-types"
},
"dependencies": {
"@datocms/cda-client": "^0.3.2",
"@datocms/cma-client": "^6.8.0",
"@datocms/content-link": "^0.3.24",
"@mux/mux-player-react": "^3.14.0",
"datocms-plugin-sdk": "^2.5.0",
"datocms-react-ui": "^2.5.1",
"datocms-structured-text-to-plain-text": "^6.0.0",
"datocms-structured-text-utils": "^6.0.1",
"gql.tada": "^1.11.4",
"highlight.js": "^11.12.0",
"next": "^16",
"node-html-parser": "^9.0.4",
"react": "^19",
"react-datocms": "^8.1.2",
"react-dom": "^19"
},
"devDependencies": {
"@types/jsdom": "^30.0.0",
"@types/node": "^24",
"@types/react": "^19",
"@types/react-dom": "^19",
"datocms": "^4.2.0",
"dotenv-cli": "^11.0.0",
"prettier": "3.9.10",
"simple-git-hooks": "^2.14.0",
"typescript": "^6.0.3"
},
"overrides": {
"tty-table": {
"csv": "^6.6.4"
}
},
"simple-git-hooks": {
"pre-commit": "npm run format"
},
"allowScripts": {
"esbuild@0.28.2": true,
"fsevents@2.3.3": true,
"simple-git-hooks@2.14.0": true,
"yarn@1.22.22": true
}
}