-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpackage.json
74 lines (74 loc) · 2.98 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
{
"name": "@bg-dev/nuxt-directus",
"version": "2.5.0",
"license": "MIT",
"type": "module",
"author": "Becem Gharbi",
"keywords": [
"nuxt",
"directus",
"authentication"
],
"publishConfig": {
"access": "public",
"tag": "latest"
},
"exports": {
".": {
"import": "./dist/module.mjs",
"require": "./dist/module.cjs"
}
},
"main": "./dist/module.cjs",
"types": "./dist/types.d.ts",
"files": [
"dist"
],
"scripts": {
"directus:init": "cd directus && npx directus bootstrap",
"directus:start": "cd directus && npx directus start",
"dev": "nuxi dev playground",
"dev:prepare": "nuxt-module-build --stub && nuxi prepare playground",
"dev:build:ssr:session": "cross-env NUXT_SSR=true NUXT_PUBLIC_DIRECTUS_AUTH_MODE=session NODE_OPTIONS=--no-deprecation nuxi build playground",
"dev:build:spa:session": "cross-env NUXT_SSR=false NUXT_PUBLIC_DIRECTUS_AUTH_MODE=session NODE_OPTIONS=--no-deprecation nuxi build playground",
"dev:build:ssr:cookie": "cross-env NUXT_SSR=true NUXT_PUBLIC_DIRECTUS_AUTH_MODE=cookie NODE_OPTIONS=--no-deprecation nuxi build playground",
"dev:build:spa:cookie": "cross-env NUXT_SSR=false NUXT_PUBLIC_DIRECTUS_AUTH_MODE=cookie NODE_OPTIONS=--no-deprecation nuxi build playground",
"test": "playwright test --ui",
"test:prod:ssr:session": "npm run dev:build:ssr:session && cross-env NODE_ENV=production NUXT_PUBLIC_DIRECTUS_AUTH_MODE=session playwright test",
"test:prod:spa:session": "npm run dev:build:spa:session && cross-env NODE_ENV=production NUXT_PUBLIC_DIRECTUS_AUTH_MODE=session playwright test",
"test:prod:ssr:cookie": "npm run dev:build:ssr:cookie && cross-env NODE_ENV=production NUXT_PUBLIC_DIRECTUS_AUTH_MODE=cookie playwright test",
"test:prod:spa:cookie": "npm run dev:build:spa:cookie && cross-env NODE_ENV=production NUXT_PUBLIC_DIRECTUS_AUTH_MODE=cookie playwright test",
"test:prod": "npm run test:prod:ssr:session && npm run test:prod:ssr:cookie && npm run test:prod:spa:session && npm run test:prod:spa:cookie",
"lint": "eslint .",
"typecheck": "nuxi typecheck",
"prepack": "nuxt-module-build",
"release:pre": "npm run typecheck && npm run lint && npm run prepack",
"release": "npm run release:pre && npm run test:prod && changelogen --release && npm publish && git push --follow-tags"
},
"dependencies": {
"@directus/sdk": "^18.0.3",
"@nuxt/kit": "^3.15.0",
"defu": "^6.1.4",
"jwt-decode": "^4.0.0",
"nuxt-apollo": "^0.2.1"
},
"devDependencies": {
"@nuxt/eslint-config": "^0.7.4",
"@nuxt/module-builder": "^0.8.4",
"@nuxt/schema": "^3.15.0",
"@playwright/test": "^1.49.1",
"changelogen": "^0.5.7",
"cross-env": "^7.0.3",
"eslint": "^9.17.0",
"nuxt": "^3.15.0",
"typescript": "^5.7.2"
},
"repository": {
"type": "git",
"url": "git+https://github.com/becem-gharbi/nuxt-directus.git"
},
"peerDependencies": {
"@vue/apollo-composable": "^4.0.1"
},
"packageManager": "[email protected]"
}