-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
77 lines (77 loc) · 2.6 KB
/
package.json
File metadata and controls
77 lines (77 loc) · 2.6 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
{
"name": "@mozilla/majc",
"version": "0.1.10",
"repository": {
"type": "git",
"url": "git+https://github.com/mozilla-services/majc.git"
},
"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.12.0",
"uuid": "11.1.0"
},
"devDependencies": {
"@eslint/js": "^9.29.0",
"@hey-api/openapi-ts": "^0.92.3",
"@playwright/test": "^1.56.1",
"@stylistic/eslint-plugin": "^5.2.3",
"@testing-library/react": "^16.3.0",
"@types/jest": "^30.0.0",
"@types/node": "^24.3.1",
"@types/react": "^19.1.8",
"eslint": "^9.35.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-react-refresh": "^0.4.20",
"husky": "^9.1.7",
"jest": "^30.0.5",
"jest-environment-jsdom": "^30.0.2",
"jest-fetch-mock": "^3.0.3",
"react": "^18.0.0 || ^19.0.0",
"react-dom": "^18.0.0 || ^19.0.0",
"ts-jest": "^29.4.0",
"tslib": "^2.8.1",
"tsup": "^8.5.0",
"typescript": "^5.8.3",
"typescript-eslint": "^8.42.0"
},
"peerDependencies": {
"react": "^18.0.0 || ^19.0.0",
"react-dom": "^18.0.0 || ^19.0.0"
},
"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",
"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",
"validate:example:build": "cd examples/react && npm run build"
}
}