-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
150 lines (150 loc) · 4.71 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
{
"name": "@canonical/rebac-admin",
"version": "0.0.1-alpha.7",
"description": "A shared UI for managing ReBAC/OpenFGA permissions",
"repository": "[email protected]:canonical/rebac-admin.git",
"author": "Canonical Webteam",
"license": "AGPL-3.0",
"packageManager": "[email protected]",
"type": "module",
"files": [
"dist/**/*.js",
"dist/**/*.d.*",
"dist/**/*.map",
"dist/**/*.css"
],
"main": "./dist/rebac-admin.umd.cjs",
"module": "./dist/rebac-admin.js",
"types": "./dist/rebac-admin.d.ts",
"exports": {
".": {
"import": "./dist/rebac-admin.js",
"require": "./dist/rebac-admin.umd.cjs"
},
"./dist/rebac-admin.css": {
"import": "./dist/rebac-admin.css",
"require": "./dist/rebac-admin.css"
}
},
"scripts": {
"build": "yarn run tsc && vite build",
"build-api": "./scripts/build-api",
"build-demo": "yarn run tsc && vite build -c vite-demo.config.ts",
"clean": "./scripts/clean-files",
"fetch-api-spec": "./scripts/fetch-api-spec",
"lint": "npmPkgJsonLint . && yarn run eslint-check && yarn run prettier-check && yarn run stylelint-check",
"eslint-check": "eslint --report-unused-disable-directives --max-warnings 0",
"prepack": "yarn build",
"prettier-check": "prettier --check src demo/src",
"serve-demo": "vite preview -c vite-demo.config.ts",
"serve-mock-api": "tsx watch ./scripts/serve-mock-api.ts",
"start": "vite",
"stylelint-check": "stylelint 'src/**/*.scss'",
"stylelint-fix": "stylelint --fix 'src/**/*.scss'",
"test": "vitest",
"test-ui": "vitest --ui --open=false",
"typecheck": "vitest --typecheck.only"
},
"peerDependencies": {
"@canonical/react-components": "^1.2.1",
"@tanstack/react-query": "^5.24.7",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"axios": "^1.6.7",
"formik": "^2.4.5",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"vanilla-framework": "^4.0.0",
"yup": "^1.4.0"
},
"dependencies": {
"classnames": "2.5.1",
"clone-deep": "4.0.1",
"lodash.isequal": "4.5.0",
"loglevel": "1.9.2",
"react-hot-toast": "2.5.1"
},
"devDependencies": {
"@canonical/react-components": "1.7.3",
"@eslint/compat": "1.2.4",
"@eslint/eslintrc": "3.2.0",
"@eslint/js": "9.17.0",
"@faker-js/faker": "9.3.0",
"@mswjs/http-middleware": "0.10.2",
"@tanstack/eslint-plugin-query": "5.62.15",
"@tanstack/react-query": "5.62.15",
"@testing-library/dom": "10.4.0",
"@testing-library/jest-dom": "6.6.3",
"@testing-library/react": "16.1.0",
"@testing-library/user-event": "14.5.2",
"@types/clone-deep": "4.0.4",
"@types/cors": "2.8.17",
"@types/eslint-plugin-jsx-a11y": "6",
"@types/express": "5.0.0",
"@types/ip": "1.1.3",
"@types/lodash.isequal": "4",
"@types/node": "20.17.11",
"@types/react": "18.3.18",
"@types/react-dom": "18.3.5",
"@typescript-eslint/eslint-plugin": "8.19.0",
"@typescript-eslint/parser": "8.19.0",
"@vitejs/plugin-react": "4.3.4",
"@vitest/coverage-v8": "2.1.8",
"@vitest/ui": "2.1.8",
"async-limiter": "2.0.0",
"axios": "1.7.9",
"cors": "2.8.5",
"dotenv": "16.4.7",
"eslint": "9.17.0",
"eslint-config-prettier": "9.1.0",
"eslint-import-resolver-typescript": "3.7.0",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-jsx-a11y": "6.10.2",
"eslint-plugin-prettier": "5.2.1",
"eslint-plugin-promise": "7.2.1",
"eslint-plugin-react": "7.37.3",
"eslint-plugin-react-hooks": "5.1.0",
"eslint-plugin-react-refresh": "0.4.16",
"eslint-plugin-testing-library": "7.1.1",
"eslint-plugin-vitest": "0.5.4",
"express": "4.21.2",
"formik": "2.4.6",
"globals": "15.14.0",
"happy-dom": "16.3.0",
"ip": "2.0.1",
"msw": "2.7.0",
"npm-package-json-lint": "8.0.0",
"orval": "7.3.0",
"postcss": "8.4.49",
"prettier": "3.4.2",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-router": "7.1.1",
"sass": "1.83.1",
"strict-event-emitter": "0.5.1",
"stylelint": "16.12.0",
"stylelint-config-standard-scss": "14.0.0",
"stylelint-order": "6.0.4",
"tsx": "4.19.2",
"typescript": "5.7.2",
"typescript-eslint": "8.19.0",
"vanilla-framework": "4.18.5",
"vite": "6.0.7",
"vite-plugin-dts": "4.4.0",
"vite-plugin-node-polyfills": "0.22.0",
"vite-tsconfig-paths": "5.1.4",
"vitest": "2.1.8",
"yup": "1.6.1"
},
"npmpackagejsonlint": {
"rules": {
"prefer-absolute-version-dependencies": "error",
"prefer-absolute-version-devDependencies": "error",
"prefer-alphabetical-dependencies": "error",
"prefer-alphabetical-devDependencies": "error"
}
},
"msw": {
"workerDirectory": "demo/public"
}
}