-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
110 lines (110 loc) · 3.84 KB
/
Copy pathpackage.json
File metadata and controls
110 lines (110 loc) · 3.84 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
{
"name": "@amp-labs/react",
"version": "2.15.1",
"description": "Ampersand React library.",
"author": {
"name": "Ampersand Labs",
"url": "http://withampersand.com"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/amp-labs/react/issues"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"homepage": "https://github.com/amp-labs/react#readme",
"typings": "./build/index.d.ts",
"main": "./build/amp-react.cjs.js",
"module": "./build/amp-react.es.js",
"exports": {
".": {
"types": "./build/index.d.ts",
"import": "./build/amp-react.es.js",
"require": "./build/amp-react.cjs.js"
},
"./styles": "./build/style.css"
},
"files": [
"build"
],
"scripts": {
"test": "jest",
"watch": "yarn prepbuild && vite build --watch",
"build": "yarn prepbuild && tsc && vite build",
"analyze": "yarn prepbuild && vite build --mode development",
"prepbuild": "yarn clean && node -p \"'export const LIB_VERSION = ' + JSON.stringify(require('./package.json').version) + ';'\" > src/services/version.ts",
"clean": "rm -rf ./build/",
"assets": "mkdir ./build/ && cp -R ./src/public/ ./build/public/",
"lint": "eslint --ext .ts,.tsx -c eslint.config.js src/ --fix",
"lint:dry": "eslint --ext .ts,.tsx -c eslint.config.js src/",
"clean-api": "rm -rf generated-sources/api",
"generate-api": "yarn clean-api && openapi-generator-cli generate -i https://raw.githubusercontent.com/amp-labs/openapi/main/api/api.yaml -g typescript-fetch -o generated-sources/api --additional-properties=npmName=amp-labs-generated-rest-sdk,supportsES6=true,withInterfaces=true && yarn generate-api:post-process",
"generate-api:post-process": "ts-node scripts/fix-default-field-setting.ts",
"gen": "yarn generate-api"
},
"repository": {
"type": "git",
"url": "git+https://github.com/amp-labs/react.git"
},
"jest": {
"testPathIgnorePatterns": [
"build"
]
},
"devDependencies": {
"@babel/preset-env": "^7.23.2",
"@babel/preset-react": "^7.22.15",
"@babel/preset-typescript": "^7.23.2",
"@jest/globals": "^30.0.0",
"@openapitools/openapi-generator-cli": "^2.7.0",
"@types/lodash.isempty": "^4.4.9",
"@types/lodash.isequal": "^4.5.7",
"@types/node": "^24.0.0",
"@types/react": "18.3.2",
"@types/react-dom": "18.3.0",
"@typescript-eslint/eslint-plugin": "^8.29.1",
"@typescript-eslint/parser": "^8.29.1",
"@vitejs/plugin-react": "^4.3.1",
"babel-jest": "^30.0.0",
"eslint": "^9.2.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-n": "^17.2.0",
"eslint-plugin-prettier": "^5.2.6",
"eslint-plugin-promise": "^7.0.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-simple-import-sort": "^12.0.0",
"jest": "^30.0.0",
"prettier": "^3.5.3",
"react-test-renderer": "^19.0.0",
"rollup-plugin-visualizer": "^6.0.3",
"ts-node": "^10.9.2",
"typescript": "^5.8.3",
"vite": "^7.3.1",
"vite-plugin-dts": "^4.1.0"
},
"peerDependencies": {
"react": ">=18.0.0 <20.0.0",
"react-dom": ">=18.0.0 <20.0.0"
},
"dependencies": {
"@radix-ui/react-checkbox": "^1.1.2",
"@radix-ui/react-icons": "^1.3.0",
"@radix-ui/react-tabs": "^1.1.1",
"@tanstack/react-query": "^5.64.2",
"classnames": "^2.5.1",
"downshift": "^9.0.8",
"eslint-plugin-react-refresh": "^0.4.20",
"globals": "^16.0.0",
"immer": "^10.0.3",
"jose": "^6.0.12",
"lodash.isempty": "^4.4.0",
"lodash.isequal": "^4.5.0",
"react-markdown": "^10.1.0",
"react-tooltip": "^5.28.0"
},
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
}