forked from nuxt-community/composition-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
105 lines (105 loc) · 3.31 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
{
"name": "nuxt-composition-api",
"version": "0.10.2",
"description": "Composition API hooks for Nuxt",
"license": "MIT",
"repository": "nuxt-community/composition-api",
"author": {
"name": "Daniel Roe",
"email": "[email protected]",
"url": "https://roe.dev"
},
"keywords": [
"vue",
"vuejs",
"nuxt",
"composition-api",
"typescript",
"javascript"
],
"main": "lib/index.js",
"types": "lib/index.d.ts",
"files": [
"lib/**/*",
"lib/index.d.ts",
"!**/*.map"
],
"scripts": {
"build": "yarn clean && yarn compile",
"watch": "yarn compile -w",
"clean": "rm -rf lib/*",
"compile": "rollup -c",
"fixture": "yarn nuxt-run dev",
"fixture:prod": "rm -rf .nuxt && yarn nuxt-run build && yarn nuxt-run start",
"fixture:generate:export": "export GENERATE=true && rm -rf .nuxt && yarn nuxt-run build && PORT=6000 yarn nuxt-run export",
"fixture:generate": "yarn fixture:generate:export && yarn http-server -s -p 5000 dist",
"lint": "run-s lint:all:*",
"lint:all:eslint": "yarn lint:eslint --ext .js,.ts,.vue .",
"lint:all:prettier": "yarn lint:prettier \"**/*.{js,json,ts,vue}\"",
"lint:eslint": "eslint --fix",
"lint:prettier": "prettier --write --loglevel warn",
"now-build": "NOW_BUILD=true yarn fixture:generate:export",
"nuxt-run": "test/run.sh",
"prepare": "yarn build",
"prepublishOnly": "yarn lint && yarn test",
"release": "release-it",
"test": "run-s test:*",
"test:e2e-globals": "GLOBALS=true PORT=3000 start-server-and-test fixture:prod 3000 \"testcafe firefox:headless test/e2e\"",
"test:e2e-ssr": "PORT=4000 start-server-and-test fixture:prod 4000 \"testcafe firefox:headless test/e2e\"",
"test:e2e-generated": "GENERATE=true PORT=5000 start-server-and-test fixture:generate 5000 \"testcafe -q firefox:headless test/e2e\"",
"test:types": "tsd",
"test:unit": "jest"
},
"tsd": {
"directory": "test/tsd",
"compilerOptions": {
"rootDir": "."
}
},
"gitHooks": {
"pre-commit": "lint-staged"
},
"dependencies": {
"@vue/composition-api": "^0.6.7",
"defu": "^2.0.4"
},
"devDependencies": {
"@babel/plugin-transform-runtime": "^7.10.3",
"@babel/preset-env": "^7.10.3",
"@babel/preset-typescript": "^7.10.1",
"@nuxt/types": "^2.13.2",
"@nuxtjs/module-test-utils": "^1.6.1",
"@release-it/conventional-changelog": "^1.1.4",
"@types/jest": "^26.0.3",
"@typescript-eslint/eslint-plugin": "^3.4.0",
"@typescript-eslint/parser": "^3.4.0",
"babel-loader": "^8.1.0",
"codecov": "^3.7.0",
"eslint": "^7.3.1",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-jest": "^23.17.1",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-promise": "^4.2.1",
"http-server": "^0.12.3",
"jest": "^26.1.0",
"lint-staged": "^10.2.11",
"npm-run-all": "^4.1.5",
"nuxt": "^2.13.2",
"prettier": "^2.0.5",
"prettier-eslint-cli": "^5.0.0",
"release-it": "13.6.3",
"rollup": "^2.18.1",
"rollup-plugin-copy": "^3.3.0",
"rollup-plugin-dts": "^1.4.7",
"rollup-plugin-typescript2": "^0.27.1",
"start-server-and-test": "^1.11.0",
"testcafe": "1.8.7",
"tsd": "^0.11.0",
"yorkie": "^2.0.0"
},
"peerDependencies": {
"@nuxt/vue-app": "^2.13.2",
"nuxt": "^2.13.2",
"vue": "^2"
}
}