forked from nuxt-community/composition-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
134 lines (134 loc) · 4.27 KB
/
Copy pathpackage.json
File metadata and controls
134 lines (134 loc) · 4.27 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
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
128
129
130
131
132
133
134
{
"name": "@nuxtjs/composition-api",
"version": "0.29.2",
"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": "daniel@roe.dev",
"url": "https://roe.dev"
},
"sideEffects": true,
"exports": {
".": {
"import": "./dist/runtime/index.mjs",
"require": "./dist/runtime/index.js"
},
"./module": "./dist/module/index.js",
"./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": "jest",
"watch": "yarn build -w"
},
"dependencies": {
"@vue/composition-api": "^1.2.1",
"defu": "^5.0.0",
"estree-walker": "^2.0.2",
"fs-extra": "^9.1.0",
"magic-string": "^0.25.7",
"ufo": "^0.7.9",
"unplugin-vue2-script-setup": "^0.6.4",
"upath": "^2.0.1"
},
"devDependencies": {
"@babel/plugin-transform-runtime": "^7.15.0",
"@babel/preset-env": "^7.15.6",
"@babel/preset-typescript": "^7.15.0",
"@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": "^3.3.0",
"@types/fs-extra": "^9.0.13",
"@types/jest": "^27.0.2",
"@types/normalize-path": "^3.0.0",
"@typescript-eslint/eslint-plugin": "^4.31.2",
"@typescript-eslint/parser": "^4.31.2",
"babel-loader": "^8.2.2",
"codecov": "^3.8.3",
"core-js": "3.18.0",
"cross-env": "^7.0.3",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-jest": "^24.4.2",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-promise": "^5.1.0",
"http-server": "^13.0.2",
"jest": "^27.2.1",
"lint-staged": "^11.1.2",
"npm-run-all": "^4.1.5",
"nuxt": "^2.15.8",
"prettier": "^2.4.1",
"release-it": "14.11.6",
"rimraf": "^3.0.2",
"siroc": "0.16.0",
"start-server-and-test": "^1.14.0",
"testcafe": "1.16.0",
"ts-loader": "^8.3.0",
"tsd": "^0.17.0",
"typescript": "4.4.3",
"yorkie": "^2.0.0"
},
"peerDependencies": {
"@nuxt/vue-app": "^2.15",
"nuxt": "^2.15",
"vue": "^2"
},
"engines": {
"node": "^12.20.0 || >=14.13.0"
},
"gitHooks": {
"pre-commit": "lint-staged"
},
"tsd": {
"directory": "test/tsd",
"compilerOptions": {
"rootDir": "."
}
},
"volta": {
"node": "14.17.0"
}
}