generated from mathix420/starter-ts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
139 lines (139 loc) · 3.66 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
128
129
130
131
132
133
134
135
136
137
138
139
{
"name": "sb-datasource-to-i18n-json",
"version": "1.0.0",
"author": "Arnaud Gissinger <[email protected]>",
"repository": {
"type": "git",
"url": "git+https://github.com/mathix420/sb-datasource-to-i18n-json.git"
},
"config": {
"commitizen": {
"path": "./node_modules/@ryansonshine/cz-conventional-changelog"
}
},
"main": "./dist/index.js",
"module": "./dist/index.js",
"devDependencies": {
"@ryansonshine/commitizen": "^4.2.8",
"@ryansonshine/cz-conventional-changelog": "^3.3.4",
"@semantic-release/github": "^9.2.3",
"@semantic-release/npm": "^11.0.1",
"@typescript-eslint/eslint-plugin": "^6.11.0",
"@typescript-eslint/parser": "^6.11.0",
"bun-types": "latest",
"conventional-changelog-conventionalcommits": "^7.0.2",
"eslint": "^8.53.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.1",
"husky": "^8.0.3",
"prettier": "^3.1.0",
"rexreplace": "^7.1.3",
"semantic-release": "^22.0.7"
},
"peerDependencies": {
"typescript": "^5.0.0"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
}
},
"bin": {
"sb-i18n": "./bin/index.mjs"
},
"bugs": "https://github.com/mathix420/sb-datasource-to-i18n-json/issues",
"description": "Convert Storyblok Datasource to i18n JSON",
"files": [
"bin",
"dist"
],
"homepage": "https://github.com/mathix420/sb-datasource-to-i18n-json#readme",
"keywords": [
"storyblok",
"i18n",
"sb",
"cli",
"node",
"bun"
],
"license": "MIT",
"lint-staged": {
"*.ts": "eslint --cache --cache-location .eslintcache --fix"
},
"private": false,
"release": {
"branches": [
"master"
],
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "conventionalcommits",
"releaseRules": [
{
"type": "build",
"scope": "deps",
"release": "patch"
}
]
}
],
[
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits",
"presetConfig": {
"types": [
{
"type": "feat",
"section": "Features"
},
{
"type": "fix",
"section": "Bug Fixes"
},
{
"type": "build",
"section": "Dependencies and Other Build Updates",
"hidden": false
}
]
}
}
],
"@semantic-release/npm",
"@semantic-release/github"
]
},
"scripts": {
"build": "bun build src/index.ts --outdir dist/ --sourcemap=external --target=node --splitting",
"_comment": "echo 'TODO: remove below once https://github.com/oven-sh/bun/issues/6168 is fixed'",
"postbuild": "rexreplace '^(#!.+\\n)?' '$1import { createRequire as createImportMetaRequire } from \"module\"; import.meta.require ||= (id) => createImportMetaRequire(import.meta.url)(id);\\n' -GM dist/index.js",
"lint": "eslint ./src/",
"lintfix": "eslint ./src/ --fix",
"prepare": "husky install",
"semantic-release": "semantic-release",
"test:watch": "bun test --watch",
"test": "bun test --coverage",
"typecheck": "tsc --noEmit"
},
"sideEffects": false,
"type": "module",
"types": "./dist/index.d.ts",
"typesVersions": {
"*": {
"*": [
"./dist/*",
"./dist/index.d.ts"
]
}
},
"dependencies": {
"@storyblok/js": "^2.3.0",
"chalk": "^5.3.0",
"commander": "^11.1.0",
"isomorphic-fetch": "^3.0.0"
}
}