This repository has been archived by the owner on Dec 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 100
/
package.json
119 lines (119 loc) · 3.85 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
{
"name": "@nuxtjs/composition-api",
"version": "0.34.0",
"description": "Composition API hooks for Nuxt",
"keywords": [
"vue",
"vuejs",
"nuxt",
"composition-api",
"typescript",
"javascript"
],
"repository": "nuxt-community/composition-api",
"license": "MIT",
"author": {
"name": "Daniel Roe",
"email": "[email protected]",
"url": "https://roe.dev"
},
"sideEffects": true,
"exports": {
".": "./dist/runtime/index.mjs",
"./module": "./dist/module/index.mjs",
"./package.json": "./package.json",
"./dist/babel-plugin": "./dist/babel-plugin/index.js",
"./dist/runtime/globals": "./dist/runtime/globals.js",
"./dist/runtime/templates/*": "./dist/runtime/templates/*"
},
"main": "./dist/runtime/index.js",
"module": "./dist/runtime/index.mjs",
"types": "./dist/runtime/index.d.ts",
"files": [
"dist",
"module.js"
],
"scripts": {
"build": "siroc build && cp dist/runtime/index.d.ts dist/runtime/index.d.mts",
"clean:fixture": "rimraf test/fixture/dist/ test/fixture/.nuxt",
"dev": "nuxt dev test/fixture",
"fixture:generate": "yarn fixture:generate:export && yarn http-server -s -p 8000 test/fixture/dist",
"fixture:generate:export": "yarn clean:fixture && cross-env GENERATE=true PORT=6000 CMD=generate yarn nuxt-run",
"fixture:prod": "yarn clean:fixture && cross-env CMD=build yarn nuxt-run && cross-env CMD=start yarn nuxt-run",
"lint": "run-s lint:all:*",
"lint:all:eslint": "yarn lint:eslint --ext .js,.mjs,.ts,.vue .",
"lint:eslint": "eslint --fix",
"now-build": "NOW_BUILD=true yarn fixture:generate:export",
"nuxt-run": "cross-env-shell \"yarn nuxt $CMD test/fixture\"",
"prepare": "yarn build",
"_prepublishOnly": "yarn lint && yarn test",
"release": "release-it",
"test": "run-s test:*",
"test:e2e-generated": "cross-env GENERATE=true PORT=8000 start-server-and-test fixture:generate http://localhost:8000 \"testcafe -q firefox:headless test/e2e\"",
"test:e2e-globals": "cross-env GLOBALS=true PORT=3000 start-server-and-test fixture:prod http://localhost:3000 \"testcafe firefox:headless test/e2e\"",
"test:e2e-ssr": "cross-env PORT=4000 start-server-and-test fixture:prod http://localhost:4000 \"testcafe firefox:headless test/e2e\"",
"test:types": "tsd",
"test:unit": "vitest run",
"watch": "yarn build -w"
},
"dependencies": {
"defu": "^6.1.4",
"estree-walker": "^2.0.2",
"fs-extra": "^11.2.0",
"magic-string": "^0.30.14",
"pathe": "^1.1.2",
"ufo": "^1.5.4"
},
"devDependencies": {
"@babel/traverse": "^7.26.4",
"@babel/types": "^7.26.3",
"@nuxt/test-utils": "^0.2.2",
"@nuxt/types": "^2.18.1",
"@nuxt/typescript-build": "^3.0.2",
"@nuxtjs/module-test-utils": "^1.6.3",
"@nuxtjs/pwa": "^3.3.5",
"@release-it/conventional-changelog": "^9.0.3",
"@types/fs-extra": "^11.0.4",
"@types/node": "^22.10.1",
"@types/normalize-path": "^3.0.2",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"codecov": "^3.8.3",
"core-js": "3.39.0",
"cross-env": "^7.0.3",
"eslint": "^8.57.1",
"eslint-plugin-promise": "^7.2.1",
"happy-dom": "^15.11.7",
"http-server": "^14.1.1",
"lint-staged": "^15.2.10",
"npm-run-all2": "^7.0.1",
"nuxt": "^2.18.1",
"release-it": "17.10.0",
"rimraf": "^6.0.1",
"siroc": "0.16.0",
"start-server-and-test": "^2.0.8",
"testcafe": "3.5.0",
"ts-loader": "^8.4.0",
"tsd": "^0.31.2",
"typescript": "5.7.2",
"vite": "^5.4.11",
"vitest": "^2.1.8",
"yorkie": "^2.0.0"
},
"peerDependencies": {
"nuxt": "^2.18.1",
"vue": "^2.7.16"
},
"engines": {
"node": ">=v14.13.0"
},
"gitHooks": {
"pre-commit": "lint-staged"
},
"tsd": {
"directory": "test/tsd",
"compilerOptions": {
"rootDir": "."
}
}
}