-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpackage.json
More file actions
48 lines (48 loc) · 1.65 KB
/
Copy pathpackage.json
File metadata and controls
48 lines (48 loc) · 1.65 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
{
"name": "nextjs-starter-kit",
"version": "0.1.0",
"private": true,
"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.2.10",
"@datocms/cma-client": "^5.4.18",
"@datocms/content-link": "^0.3.21",
"@types/highlight.js": "^10.1.0",
"datocms-plugin-sdk": "^2.1.5",
"datocms-react-ui": "^2.1.5",
"datocms-structured-text-to-plain-text": "^5.1.16",
"datocms-structured-text-utils": "^5.1.16",
"gql.tada": "^1.9.0",
"highlight.js": "^11.11.1",
"@mux/mux-player-react": "^3.13.0",
"next": "^16",
"node-html-parser": "^7.0.1",
"react": "^19",
"react-datocms": "^8.0.5",
"react-dom": "^19",
"serialize-error": "^12.0.0"
},
"devDependencies": {
"datocms": "^4.0.26",
"@types/jsdom": "^27.0.0",
"@types/node": "^24",
"@types/react": "^19",
"@types/react-dom": "^19",
"dotenv-cli": "^11.0.0",
"prettier": "3.7.4",
"simple-git-hooks": "^2.13.1",
"typescript": "^5.9.3"
},
"simple-git-hooks": {
"pre-commit": "npm run format"
}
}