-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
94 lines (94 loc) · 3.36 KB
/
Copy pathpackage.json
File metadata and controls
94 lines (94 loc) · 3.36 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
{
"name": "@nipe-solutions/react-anchored-layer",
"version": "0.1.0-alpha.0",
"description": "Anchored floating layers for React.",
"homepage": "https://react-anchored-layer.nipesolutions.com",
"repository": {
"type": "git",
"url": "git+https://github.com/NIPE-Solutions/react-anchored-layer.git"
},
"bugs": {
"url": "https://github.com/NIPE-Solutions/react-anchored-layer/issues"
},
"license": "MIT",
"type": "module",
"private": false,
"files": [
"dist",
"CHANGELOG.md",
"LICENSE"
],
"sideEffects": [
"**/*.css"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./core.css": "./dist/core.css",
"./theme.css": "./dist/theme.css",
"./styles.css": "./dist/styles.css",
"./package.json": "./package.json"
},
"engines": {
"node": ">=24 <25"
},
"packageManager": "npm@11.19.0",
"publishConfig": {
"access": "public",
"provenance": true,
"tag": "alpha"
},
"scripts": {
"test": "vitest run",
"test:unit": "vitest run",
"test:types": "tsc --project test/types/tsconfig.json --noEmit",
"typecheck": "tsc --noEmit",
"format": "prettier --write .",
"format:check": "prettier --check .",
"lint": "eslint . --max-warnings 0",
"build:dist": "rimraf dist && vite build && dts-bundle-generator --silent --no-banner -o dist/index.d.ts src/index.ts && node scripts/copy-styles.mjs",
"test:api": "node --test scripts/check-public-api.test.mjs scripts/check-css-contract.test.mjs && node scripts/check-public-api.mjs && node scripts/check-css-contract.mjs dist/core.css",
"build:website": "vite build --config website/vite.config.ts",
"test:size": "node scripts/check-bundle-size.mjs && node scripts/check-bundle-externals.mjs",
"test:package": "node --test test/package/verify-package.test.mjs",
"test:website": "node scripts/verify-website.mjs",
"test:website:e2e": "playwright test --config playwright.website.config.ts",
"test:e2e": "playwright test",
"test:workflows": "node --test scripts/verify-workflows.test.mjs scripts/verify-release.test.mjs && node scripts/verify-workflows.mjs",
"check": "npm run format:check && npm run lint && npm run typecheck && npm run test:unit && npm run test:types && npm run build:dist && npm run test:api && npm run test:size && npm run test:package && npm run build:website && npm run test:website && npm run test:workflows",
"release:check": "npm run check && node scripts/verify-release.mjs --dry-run"
},
"peerDependencies": {
"react": "^18.3.0 || ^19.0.0",
"react-dom": "^18.3.0 || ^19.0.0"
},
"dependencies": {
"@floating-ui/react-dom": "^2.1.9"
},
"devDependencies": {
"@axe-core/playwright": "^4.13.0",
"@eslint/js": "^10.0.1",
"@playwright/test": "^1.58.2",
"@testing-library/jest-dom": "^7.0.1",
"@testing-library/react": "^16.3.3",
"@types/node": "^26.4.1",
"@types/react": "^19.2.18",
"@types/react-dom": "^19.2.7",
"dts-bundle-generator": "^9.5.1",
"eslint": "^10.10.0",
"globals": "^17.12.0",
"jsdom": "^30.0.1",
"playwright-core": "^1.58.2",
"prettier": "^3.9.6",
"react": "^19.2.8",
"react-dom": "^19.2.8",
"rimraf": "^6.1.3",
"typescript": "^6.0.3",
"typescript-eslint": "^8.69.0",
"vite": "^8.2.2",
"vitest": "^5.0.0"
}
}