-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
73 lines (73 loc) · 2.55 KB
/
package.json
File metadata and controls
73 lines (73 loc) · 2.55 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
{
"name": "@prezly/sdk",
"version": "26.3.0",
"description": "Prezly API SDK",
"type": "module",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"default": "./dist/index.cjs"
}
},
"files": [
"dist/**"
],
"repository": {
"type": "git",
"url": "https://github.com/prezly/javascript-sdk"
},
"author": "Prezly Team <hello@prezly.com> (https://www.prezly.com)",
"license": "MIT",
"engines": {
"node": ">= 16"
},
"dependencies": {
"@prezly/progress-promise": "^2.0.1",
"@prezly/uploads": "^0.2.1",
"query-string": "^6.14.1"
},
"devDependencies": {
"@babel/cli": "^7.28.6",
"@babel/core": "^7.28.6",
"@babel/plugin-proposal-export-namespace-from": "^7.18.9",
"@babel/preset-env": "^7.28.6",
"@babel/preset-typescript": "^7.28.5",
"@biomejs/biome": "^2.2.4",
"@prezly/biome-config": "^1.0.1",
"@types/node": "^20.10.4",
"babel-plugin-add-import-extension": "^1.6.0",
"babel-plugin-transform-inline-environment-variables": "^0.4.4",
"cross-env": "^7.0.3",
"np": "^9.2.0",
"rimraf": "^3.0.0",
"typescript": "^5.3.3",
"vitest": "^1.2.2",
"vitest-fetch-mock": "^0.2.2"
},
"scripts": {
"clean": "rimraf dist node_modules",
"prebuild": "npm run clean && npm ci",
"build": "npm run build:types && npm run build:es && npm run build:cjs",
"build:types": "tsc --project .",
"build:es": "babel ./src --ignore='**/*.test.ts' --config-file=./babel.config.json --extensions=.ts,.cts --source-root=./src --out-dir=./dist",
"build:cjs": "babel ./src --ignore='**/*.test.ts' --config-file=./babel.config.cjs.json --extensions=.ts,.cts --source-root=./src --out-dir=./dist --out-file-extension .cjs",
"watch": "tsc --watch --preserveWatchOutput --project .",
"start": "npm run build --incremental --watch",
"lint": "biome ci",
"lint:fix": "biome lint --write",
"test": "npm run test:build && npm run test:unit",
"test:unit": "vitest run",
"test:build": "node dist/index.js && tsc --noEmit dist/index.d.ts",
"format:check": "biome format",
"format": "biome format --write",
"prerelease": "npm run build",
"release": "np"
},
"np": {
"yarn": false
}
}