-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpackage.json
More file actions
executable file
·94 lines (94 loc) · 2.75 KB
/
Copy pathpackage.json
File metadata and controls
executable file
·94 lines (94 loc) · 2.75 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": "audiocard",
"description": "Opinionated, responsive, audio player compatible with Twitter Cards - Fully RSC compliant",
"version": "3.0.8",
"type": "module",
"license": "MIT",
"author": "Erik Rasmussen <rasmussenerik@gmail.com>",
"repository": "erikras/audiocard",
"keywords": [
"audiocard",
"react",
"audio",
"mp3",
"twitter",
"card",
"twitter card",
"server component",
"next.js",
"rsc",
"react server components"
],
"main": "./dist/index.js",
"module": "./dist/audiocard.esm.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/audiocard.esm.js",
"require": "./dist/index.js"
},
"./package.json": "./package.json"
},
"files": [
"dist"
],
"peerDependencies": {
"react": ">=18.0.0"
},
"scripts": {
"test": "vitest run",
"test:ui": "vitest --ui",
"test:watch": "vitest",
"start": "cp-cli ./index.js ./dist/index.js && cross-env NODE_ENV=development rollup -w -c | tsc -w -p tsconfig.base.json",
"prebuild": "rimraf dist",
"build": "cross-env NODE_ENV=production tsc -p tsconfig.base.json && rollup -c && rimraf compiled && cp-cli ./index.js ./dist/index.js",
"prepublish": "npm run build",
"format": "biome format --write .",
"lint": "biome lint .",
"check": "biome check --write .",
"precommit": "biome check --write .",
"storybook": "storybook dev -p 9001",
"build-storybook": "storybook build"
},
"resolutions": {
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0"
},
"devDependencies": {
"@babel/core": "^7.27.7",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^28.0.6",
"@rollup/plugin-node-resolve": "^16.0.1",
"@rollup/plugin-replace": "^6.0.2",
"@rollup/plugin-terser": "^0.4.4",
"@storybook/addon-links": "^9.0.14",
"@storybook/react": "^9.0.14",
"@storybook/react-vite": "^9.0.14",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.3.0",
"@types/react": "^19.1.8",
"@types/react-dom": "^19.1.6",
"@vitejs/plugin-react": "^4.6.0",
"@vitest/ui": "3.2.4",
"babel-plugin-annotate-pure-calls": "^0.5.0",
"babel-plugin-dev-expression": "^0.2.3",
"babel-plugin-transform-rename-import": "^2.3.0",
"biome": "^0.3.3",
"cp-cli": "^2.0.0",
"cross-env": "7.0.3",
"jsdom": "^26.1.0",
"knip": "^5.61.3",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"rimraf": "^6.0.1",
"rollup": "^4.44.1",
"rollup-plugin-size-snapshot": "^0.12.0",
"rollup-plugin-sourcemaps": "^0.6.3",
"storybook": "^9.0.14",
"styled-components": "^6.1.19",
"tslib": "^2.8.1",
"typescript": "^5.8.3",
"vitest": "^3.2.4"
}
}