forked from vercel/storage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
85 lines (85 loc) · 2.32 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
{
"name": "@vercel/edge-config",
"version": "0.1.2-bundling.1",
"description": "Ultra-low latency data at the edge",
"homepage": "https://vercel.com",
"repository": {
"type": "git",
"url": "https://github.com/vercel/vercel.git",
"directory": "packages/edge-config"
},
"license": "MIT",
"sideEffects": false,
"type": "module",
"exports": {
".": {
"import": {
"node": "./dist/index.node.js",
"default": "./dist/index.edge.js"
},
"require": {
"node": "./dist/index.node.cjs",
"default": "./dist/index.edge.cjs"
}
}
},
"main": "./dist/index.edge.cjs",
"module": "./dist/index.edge.js",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "tsup && node scripts/post-build.js",
"eslint-check": "eslint --max-warnings=0 .",
"precommit": "lint-staged",
"prepare": "husky install",
"prepublishOnly": "pnpm run build",
"prettier-check": "prettier --check .",
"release": "pnpm build && changeset publish",
"test": "pnpm run test:node && pnpm run test:edge && pnpm run test:common",
"test:common": "jest --env @edge-runtime/jest-environment .common.test.ts && jest --env node .common.test.ts",
"test:edge": "jest --env @edge-runtime/jest-environment .edge.test.ts",
"test:node": "jest --env node .node.test.ts",
"type-check": "tsc --noEmit",
"version-packages": "changeset version"
},
"lint-staged": {
"*": [
"prettier --ignore-unknown --write"
],
"*.{js,jsx,ts,tsx}": [
"eslint --max-warnings=0 --fix"
]
},
"prettier": "@vercel/style-guide/prettier",
"jest": {
"preset": "ts-jest",
"setupFiles": [
"<rootDir>/jest/setup.js"
],
"testEnvironment": "node"
},
"devDependencies": {
"@babel/core": "7.19.6",
"@changesets/cli": "2.25.0",
"@edge-runtime/jest-environment": "1.1.0-beta.31",
"@edge-runtime/types": "2.0.0",
"@types/jest": "29.2.0",
"@types/node": "18.11.3",
"@vercel/style-guide": "4.0.2",
"eslint": "8.25.0",
"husky": "8.0.1",
"jest": "29.2.1",
"jest-fetch-mock": "3.0.3",
"lint-staged": "13.0.3",
"prettier": "2.7.1",
"ts-jest": "29.0.3",
"tsup": "6.3.0",
"typescript": "4.8.4",
"urlpattern-polyfill": "6.0.1"
},
"engines": {
"node": ">=14.6"
}
}