-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
109 lines (109 loc) · 3.12 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
{
"name": "nuxt-countries-api",
"version": "0.0.1",
"description": "Nuxt 3 Self hosted REST API module with countries data",
"repository": {
"type": "git",
"url": "git+https://github.com/xamu-co/countries-api.git"
},
"publishConfig": {
"access": "public"
},
"bugs": {
"url": "https://github.com/xamu-co/countries-api/issues"
},
"homepage": "https://github.com/xamu-co/countries-api#readme",
"keywords": [
"indicatives",
"countries with indicatives",
"countries",
"countries and states",
"countries with states and cities",
"states and cities",
"rest",
"api",
"nuxt",
"nuxt module",
"nuxt server module"
],
"author": "@vis97c <[email protected]>",
"license": "MIT",
"type": "module",
"exports": {
".": {
"types": "./dist/types.d.ts",
"import": "./dist/module.mjs",
"require": "./dist/module.cjs"
}
},
"main": "./dist/module.cjs",
"types": "./dist/types.d.ts",
"packageManager": "[email protected]",
"engines": {
"node": ">=18.20.4",
"yarn": ">=1.22.4"
},
"scripts": {
"lint:eslint": "eslint --ext .ts,.js,.vue --ignore-path .gitignore .",
"lint:prettier": "prettier . --check --ignore-unknown",
"lint": "yarn lint:eslint && yarn lint:prettier",
"countries": "node data/index.js",
"build": "yarn countries && yarn build:prepack && nuxt-module-build build",
"build:prepack": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
"dev": "nuxi dev playground",
"dev:build": "yarn countries && nuxi build playground",
"test": "vitest run",
"test:watch": "vitest watch",
"release": "semantic-release",
"release:dry": "semantic-release --dry-run"
},
"devDependencies": {
"@commitlint/cli": "^9.1.1",
"@commitlint/config-conventional": "^9.1.1",
"@nuxt/devtools": "latest",
"@nuxt/kit": "latest",
"@nuxt/module-builder": "latest",
"@nuxt/schema": "latest",
"@nuxt/test-utils": "latest",
"@open-xamu-co/eslint-config": "^3.0.1",
"@open-xamu-co/ui-nuxt": "^3.0.0-next.11",
"@semantic-release/changelog": "^5.0.1",
"@semantic-release/git": "^9.0.0",
"@types/lodash": "^4.14.196",
"@types/node": "^18.14.0",
"@typescript-eslint/eslint-plugin": "^6.15.0",
"@typescript-eslint/parser": "^6.15.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^8.8.0",
"eslint-import-resolver-typescript": "^3.5.5",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-svelte": "^2.32.4",
"eslint-plugin-vue": "^9.15.1",
"husky": "^4.2.5",
"lint-staged": "^10.2.11",
"lodash": "^4.17.21",
"nuxt": "^3.10.1",
"prettier": "^3.0.0",
"semantic-release": "^17.1.1",
"typescript": "^5.6.3",
"vitest": "^0.33.0"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "yarn check --integrity && lint-staged"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"*.{js,ts,vue}": [
"eslint --fix",
"prettier --write"
]
}
}