-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
88 lines (88 loc) · 2.52 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
{
"type": "module",
"name": "@transclusion/request",
"version": "1.1.4",
"description": "For making observable requests in the browser and in Node.js.",
"author": "Marius Lundgård <[email protected]>",
"license": "MIT",
"files": [
"dist",
"src"
],
"types": "./dist/index.d.ts",
"source": "./src/server/index.ts",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"browser": {
"./dist/index.cjs": "./dist/index.browser.cjs",
"./dist/index.js": "./dist/index.browser.js"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"browser": {
"source": "./src/browser/index.ts",
"import": "./dist/index.browser.js",
"require": "./dist/index.browser.cjs"
},
"source": "./src/server/index.ts",
"require": "./dist/index.cjs",
"import": "./dist/index.js",
"default": "./dist/index.js"
}
},
"scripts": {
"build": "pkg-utils build --tsconfig tsconfig.dist.json && pkg-utils --strict --tsconfig tsconfig.dist.json",
"clean": "rimraf dist",
"lint": "eslint .",
"postpublish": "pinst --enable",
"prebuild": "yarn clean",
"prepare": "husky install",
"prepublishOnly": "pinst --disable && yarn build",
"test": "jest",
"type-check": "tsc --noEmit"
},
"devDependencies": {
"@sanity/pkg-utils": "^1.10.0",
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/commit-analyzer": "^9.0.2",
"@semantic-release/git": "^10.0.1",
"@semantic-release/npm": "^9.0.1",
"@semantic-release/release-notes-generator": "^10.0.3",
"@types/jest": "^29.1.1",
"@types/node": "^18.8.0",
"@typescript-eslint/eslint-plugin": "^5.38.1",
"@typescript-eslint/parser": "^5.38.1",
"commitizen": "^4.2.5",
"cz-conventional-changelog": "3.3.0",
"eslint": "^8.24.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.1",
"jest": "^29.1.2",
"lint-staged": "^13.0.3",
"nock": "^13.2.9",
"npm-run-all": "^4.1.5",
"pinst": "^3.0.0",
"prettier": "^2.7.1",
"rimraf": "^3.0.2",
"semantic-release": "^19.0.5",
"semantic-release-cli": "^5.4.4",
"ts-jest": "^29.0.3",
"typescript": "^4.8.4",
"xhr-mock": "^2.5.1"
},
"lint-staged": {
"*.{js,ts}": "eslint"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"repository": {
"type": "git",
"url": "https://github.com/transclusion/request.git"
}
}