-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
93 lines (93 loc) · 2.61 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
{
"name": "@prismicio/mock",
"version": "0.6.0",
"description": "Generate mock Prismic documents, fields, Slices, and models for development and testing environments",
"keywords": [
"typescript",
"prismic",
"mock",
"test",
"testing"
],
"repository": {
"type": "git",
"url": "ssh://git@github.com/prismicio/prismic-mock.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"
},
"./api": {
"require": "./dist/api/index.cjs",
"import": "./dist/api/index.js"
},
"./model": {
"require": "./dist/model/index.cjs",
"import": "./dist/model/index.js"
},
"./value": {
"require": "./dist/value/index.cjs",
"import": "./dist/value/index.js"
},
"./package.json": "./package.json"
},
"main": "dist/index.cjs",
"module": "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 test && standard-version && git push --follow-tags && npm run build && npm publish",
"release:alpha": "npm run test && standard-version --release-as minor --prerelease alpha && git push --follow-tags && npm run build && npm publish --tag alpha",
"release:alpha:dry": "npm run test && standard-version --release-as minor --prerelease alpha --dry-run",
"release:dry": "standard-version --dry-run",
"size": "size-limit",
"test": "npm run lint && npm run types && npm run unit && npm run build && npm run size",
"types": "tsc --noEmit",
"unit": "nyc --reporter=lcovonly --reporter=text --exclude-after-remap=false ava",
"unit:watch": "npm run unit -- --watch"
},
"devDependencies": {
"@prismicio/client": "7.11.0",
"@size-limit/preset-small-lib": "^11.1.2",
"@types/node": "^20.12.7",
"@typescript-eslint/eslint-plugin": "^7.6.0",
"@typescript-eslint/parser": "^7.6.0",
"ava": "^6.1.2",
"esbuild": "^0.20.2",
"esbuild-register": "^3.5.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-tsdoc": "^0.2.17",
"nyc": "^15.1.0",
"prettier": "^3.2.5",
"prettier-plugin-jsdoc": "^1.3.0",
"size-limit": "^11.1.2",
"standard-version": "^9.5.0",
"typescript": "^5.4.5",
"vite": "^5.2.8",
"vite-plugin-sdk": "^0.1.2"
},
"peerDependencies": {
"@prismicio/client": "^7"
},
"engines": {
"node": ">=18"
},
"publishConfig": {
"access": "public"
}
}