-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
42 lines (42 loc) · 1.43 KB
/
package.json
File metadata and controls
42 lines (42 loc) · 1.43 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
{
"name": "nuxt-app",
"private": true,
"type": "module",
"scripts": {
"build": "nuxt build",
"dev": "nuxt dev",
"generate": "nuxt generate",
"preview": "nuxt preview",
"format": "npx prettier . --write",
"postinstall": "nuxt prepare",
"generate-schema": "dotenv -c -- bash -c 'gql.tada generate schema https://graphql.datocms.com --header \"X-Exclude-Invalid: true\" --header \"Authorization: $NUXT_PUBLIC_DATOCMS_PUBLISHED_CONTENT_CDA_TOKEN\"'",
"generate-cma-types": "dotenv -c -- bash -c 'DATOCMS_API_TOKEN=$NUXT_DATOCMS_CMA_TOKEN npx @datocms/cli schema:generate lib/datocms/cma-types.ts'",
"prepare": "npx simple-git-hooks && npm run generate-schema && npm run generate-cma-types",
"lint": "prettier --check ."
},
"dependencies": {
"@datocms/cda-client": "^0.2.9",
"@datocms/cma-client": "^5.2.0",
"@mux/mux-player": "^3.10.1",
"datocms-structured-text-to-plain-text": "^5.1.7",
"gql.tada": "^1.9.0",
"highlight.js": "^11.11.1",
"jsonwebtoken": "^9.0.3",
"jwt-decode": "^4.0.0",
"node-html-parser": "^7.0.1",
"nuxt": "^4.2.2",
"serialize-error": "^12.0.0",
"vue": "latest",
"vue-datocms": "^8.1.5"
},
"devDependencies": {
"@types/jsdom": "^27.0.0",
"@types/jsonwebtoken": "^9.0.10",
"dotenv-cli": "^11.0.0",
"prettier": "^3.7.4",
"simple-git-hooks": "^2.13.1"
},
"simple-git-hooks": {
"pre-commit": "npm run format"
}
}