-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
105 lines (105 loc) · 3.76 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": "@localazy/generic-connector-client",
"version": "0.3.0",
"description": "Node.js module that allows to interact with the Localazy Generic Connector.",
"author": "Localazy <[email protected]>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/localazy/generic-connector-client"
},
"bugs": {
"url": "https://github.com/localazy/generic-connector-client/issues"
},
"homepage": "https://github.com/localazy/generic-connector-client#readme",
"keywords": [
"Localazy",
"Localazy API",
"TypeScript",
"i18n",
"l10n",
"t10n"
],
"type": "module",
"main": "./dist/node/localazy-generic-connector-client.cjs",
"module": "./dist/localazy-generic-connector-client.js",
"unpkg": "./dist/browser/localazy-generic-connector-client.umd.min.js",
"jsdelivr": "./dist/browser/localazy-generic-connector-client.umd.min.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": {
"default": "./dist/index.d.ts"
},
"browser": {
"import": "./dist/localazy-generic-connector-client.min.js",
"default": "./dist/browser/localazy-generic-connector-client.umd.min.js"
},
"default": {
"import": "./dist/localazy-generic-connector-client.js",
"default": "./dist/node/localazy-generic-connector-client.cjs"
}
}
},
"files": [
"dist/**/*",
"docs/**/*",
"README.md"
],
"scripts": {
"dev": "vite & npm run main-ts:watch",
"build": "rimraf dist && npm run main-ts:build && vite build",
"main-ts:build": "reexport src/main.ts",
"main-ts:watch": "reexport --watch src/main.ts",
"check": "npm run typecheck && npm run test:coverage && npm run lint && npm run prettier",
"typecheck": "npx tsc --noemit",
"test": "vitest",
"test:coverage": "vitest run --coverage",
"test:ui": "vitest --ui",
"test:debug": "vitest --inspect-brk --no-file-parallelism",
"lint": "bash -c 'eslint --ext .ts,.js,.mjs,.cjs --ignore-path <(cat .gitignore .eslintignore) .'",
"lint:fix": "npm run lint -- --fix",
"prettier": "prettier . --check",
"prettier:fix": "prettier . --write",
"typedoc": "npm run docs:html && npm run docs:md",
"typedoc:html": "rimraf typedoc/html/* && typedoc --plugin typedoc-plugin-missing-exports --tsconfig tsconfig.typedoc.json --out typedoc/html src/main.ts",
"typedoc:md": "rimraf typedoc/md/* && typedoc --plugin typedoc-plugin-markdown --plugin typedoc-plugin-missing-exports --tsconfig tsconfig.typedoc.json --out typedoc/md src/main.ts",
"bundle:visualize": "vite-bundle-visualizer"
},
"dependencies": {
"@localazy/languages": "^0.1.6",
"lodash-es": "^4.17.21"
},
"devDependencies": {
"@rollup/plugin-terser": "^0.4.4",
"@types/isomorphic-fetch": "^0.0.39",
"@types/lodash-es": "^4.17.9",
"@types/node": "^20.11.28",
"@typescript-eslint/eslint-plugin": "^7.2.0",
"@typescript-eslint/parser": "^7.2.0",
"@vitest/coverage-v8": "^1.4.0",
"@vitest/ui": "^1.4.0",
"eslint": "^8.57.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^18.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^5.1.3",
"fetch-mock": "^9.11.0",
"isomorphic-fetch": "^3.0.0",
"prettier": "^3.2.5",
"reexport": "^1.4.1",
"rimraf": "^5.0.5",
"typedoc": "^0.25.12",
"typedoc-plugin-markdown": "^3.17.1",
"typedoc-plugin-missing-exports": "^2.2.0",
"unplugin-replace": "^0.2.1",
"vite": "^5.1.6",
"vite-bundle-visualizer": "^1.1.0",
"vite-plugin-dts": "^3.7.3",
"vite-plugin-node-polyfills": "^0.21.0",
"vitest": "^1.4.0"
}
}