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
/
Copy pathpackage.json
127 lines (127 loc) · 4.01 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
120
121
122
123
124
125
126
127
{
"name": "@nuxtjs/composition-api",
"version": "0.33.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",
"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 5000 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:all:prettier": "yarn lint:prettier \"**/*.{js,mjs,json,ts,vue,md}\"",
"lint:eslint": "eslint --fix",
"lint:prettier": "prettier --write --loglevel warn",
"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=5000 start-server-and-test fixture:generate 5000 \"testcafe -q firefox:headless test/e2e\"",
"test:e2e-globals": "cross-env GLOBALS=true PORT=3000 start-server-and-test fixture:prod 3000 \"testcafe firefox:headless test/e2e\"",
"test:e2e-ssr": "cross-env PORT=4000 start-server-and-test fixture:prod 4000 \"testcafe firefox:headless test/e2e\"",
"test:types": "tsd",
"test:unit": "vitest run",
"watch": "yarn build -w"
},
"dependencies": {
"defu": "^6.0.0",
"estree-walker": "^2.0.2",
"fs-extra": "^9.1.0",
"magic-string": "^0.26.2",
"pathe": "^0.3.2",
"ufo": "^0.8.5"
},
"devDependencies": {
"@babel/traverse": "^7.18.9",
"@babel/types": "^7.18.9",
"@nuxt/test-utils": "^0.2.2",
"@nuxt/types": "^2.15.8",
"@nuxt/typescript-build": "^2.1.0",
"@nuxtjs/module-test-utils": "^1.6.3",
"@nuxtjs/pwa": "^3.3.5",
"@release-it/conventional-changelog": "^5.0.0",
"@types/fs-extra": "^9.0.13",
"@types/normalize-path": "^3.0.0",
"@typescript-eslint/eslint-plugin": "^5.31.0",
"@typescript-eslint/parser": "^5.31.0",
"c8": "^7.12.0",
"codecov": "^3.8.3",
"core-js": "3.24.0",
"cross-env": "^7.0.3",
"eslint": "^8.20.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.0.0",
"happy-dom": "^6.0.4",
"http-server": "^14.1.1",
"lint-staged": "^13.0.3",
"npm-run-all": "^4.1.5",
"nuxt": "^2.15.8",
"prettier": "^2.7.1",
"release-it": "15.2.0",
"rimraf": "^3.0.2",
"siroc": "0.16.0",
"start-server-and-test": "^1.14.0",
"testcafe": "1.19.0",
"ts-loader": "^8.4.0",
"tsd": "^0.22.0",
"typescript": "4.7.4",
"vitest": "^0.19.1",
"yorkie": "^2.0.0"
},
"peerDependencies": {
"@nuxt/vue-app": "^2.15",
"nuxt": "^2.15",
"vue": "^2.7.8"
},
"engines": {
"node": ">=v14.20.0"
},
"volta": {
"node": "16.16.0"
},
"gitHooks": {
"pre-commit": "lint-staged"
},
"tsd": {
"directory": "test/tsd",
"compilerOptions": {
"rootDir": "."
}
}
}