Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
84 lines (84 loc) · 2.33 KB
/
Copy pathpackage.json
File metadata and controls
84 lines (84 loc) · 2.33 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
74
75
76
77
78
79
80
81
82
83
84
{
"name": "@prismicio/client",
"version": "6.7.3",
"description": "The official JavaScript + TypeScript client library for Prismic",
"keywords": [
"prismic",
"prismic.io",
"cms",
"content",
"api",
"typescript"
],
"repository": {
"type": "git",
"url": "ssh://git@github.com/prismicio/prismic-client.git"
},
"license": "Apache-2.0",
"author": "Prismic <contact@prismic.io> (https://prismic.io)",
"sideEffects": false,
"type": "module",
"exports": {
".": {
"require": "./dist/index.cjs",
"import": "./dist/index.js"
},
"./package.json": "./package.json"
},
"main": "dist/index.cjs",
"module": "dist/index.js",
"react-native": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist",
"src"
],
"scripts": {
"build": "vite build",
"dev": "vite build --watch",
"format": "prettier --write .",
"lint": "eslint --ext .js,.ts .",
"prepare": "npm run build",
"release": "npm run build && npm run test && standard-version && git push --follow-tags && npm run build && npm publish",
"release:beta": "npm run build && npm run test && standard-version --release-as major --prerelease beta && git push --follow-tags && npm run build && npm publish --tag beta",
"release:beta:dry": "standard-version --release-as major --prerelease beta --dry-run",
"release:dry": "standard-version --dry-run",
"size": "size-limit",
"test": "npm run lint && npm run unit && npm run build && npm run size",
"unit": "vitest run --coverage",
"unit:watch": "vitest watch"
},
"dependencies": {
"@prismicio/helpers": "^2.3.8",
"@prismicio/types": "^0.2.7"
},
"devDependencies": {
"@prismicio/mock": "^0.1.1",
"@size-limit/preset-small-lib": "^8.1.0",
"@types/sinon": "^10.0.13",
"@typescript-eslint/eslint-plugin": "^5.46.1",
"@typescript-eslint/parser": "^5.46.1",
"@vitest/coverage-c8": "^0.26.0",
"abort-controller": "^3.0.0",
"eslint": "^8.30.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-tsdoc": "^0.2.17",
"msw": "^0.49.2",
"node-fetch": "^3.3.0",
"prettier": "^2.8.1",
"prettier-plugin-jsdoc": "^0.4.2",
"size-limit": "^8.1.0",
"standard-version": "^9.5.0",
"typescript": "^4.9.4",
"vite": "^4.0.2",
"vite-plugin-sdk": "^0.1.0",
"vitest": "^0.26.0"
},
"engines": {
"node": ">=12.13.0"
},
"publishConfig": {
"access": "public"
}
}