-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
70 lines (70 loc) · 2.34 KB
/
package.json
File metadata and controls
70 lines (70 loc) · 2.34 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
{
"name": "@mozilla-services/majc",
"version": "0.1.2",
"repository": {
"type": "git",
"url": "git+https://github.com/mozilla-services/majc.git"
},
"private": true,
"files": [
"dist/"
],
"license": "MPL-2.0",
"exports": {
"./package.json": "./package.json",
"./dist/core": {
"types": "./dist/core.d.ts",
"default": "./dist/core.js"
},
"./dist/heyapi": {
"types": "./dist/heyapi.d.ts",
"default": "./dist/heyapi.js"
},
"./dist/react": {
"types": "./dist/react.d.ts",
"default": "./dist/react.js"
}
},
"dependencies": {
"@hey-api/client-fetch": "0.10.0",
"react": "19.1.0",
"react-dom": "19.1.0",
"uuid": "11.1.0"
},
"devDependencies": {
"@eslint/js": "^9.27.0",
"@hey-api/openapi-ts": "^0.64.10",
"@playwright/test": "^1.52.0",
"@stylistic/eslint-plugin": "^4.2.0",
"@testing-library/react": "^16.3.0",
"@types/jest": "^29.5.14",
"@types/node": "^22.15.21",
"@types/react": "^19.1.3",
"eslint": "^9.27.0",
"husky": "^9.1.7",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-fetch-mock": "^3.0.3",
"ts-jest": "^29.3.4",
"tslib": "^2.8.1",
"tsup": "^8.5.0",
"typescript": "^5.8.3",
"typescript-eslint": "^8.32.1"
},
"scripts": {
"build": "tsup --env.NODE_ENV=development",
"build:production": "tsup --env.NODE_ENV=production",
"clean": "rm -rf dist",
"clean:mars-api": "rm -rf .mars-api-temp && rm -rf packages/heyapi/src",
"example:iife": "npm run build && cd examples/iife && npm install && npm run dev",
"example:react": "npm run build && cd examples/react && npm install && npm run dev",
"generate:mars-api": "openapi-ts && cp packages/heyapi/templates/client.gen.ts.template packages/heyapi/src/client.gen.ts && cp packages/heyapi/templates/index.ts.template packages/heyapi/src/index.ts",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"playwright": "npx playwright test",
"prepare": "husky",
"test": "NODE_ENV=TEST jest --coverage",
"validate:example:build": "cd examples/react && npm run build",
"update:mars-api": "git clone --depth 1 https://github.com/mozilla-services/mars.git .mars-api-temp && cp .mars-api-temp/openapi/openapi.yml packages/heyapi/mars.yml && npm run clean:mars-api && npm run generate:mars-api"
}
}