-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathpackage.json
More file actions
105 lines (105 loc) · 3.61 KB
/
package.json
File metadata and controls
105 lines (105 loc) · 3.61 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
{
"name": "ooni-components",
"version": "0.8.0-alpha.3",
"main": "dist/index.cjs.js",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/ooni/design-system.git"
},
"homepage": "http://ooni.github.io/design-system",
"author": "Arturo Filastò <arturo@filasto.net>",
"license": "BSD-3-Clause",
"dependencies": {
"react-select": "^5.10.2",
"tailwind-merge": "^3.5.0"
},
"devDependencies": {
"@babel/core": "^7.29.0",
"@babel/preset-env": "^7.29.2",
"@babel/preset-react": "^7.28.5",
"@babel/preset-typescript": "^7.28.5",
"@biomejs/biome": "^2.4.8",
"@chromatic-com/storybook": "^5.0.2",
"@rollup/plugin-commonjs": "^29.0.2",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^16.0.3",
"@rollup/plugin-terser": "^1.0.0",
"@rollup/plugin-typescript": "^12.3.0",
"@rollup/plugin-url": "^8.0.2",
"@storybook/addon-docs": "^10.3.1",
"@storybook/addon-links": "^10.3.1",
"@storybook/addon-onboarding": "^10.3.1",
"@storybook/blocks": "^8.6.14",
"@storybook/react": "^10.3.1",
"@storybook/react-vite": "^10.3.1",
"@storybook/test": "^8.6.15",
"@svgr/rollup": "^8.1.0",
"@tailwindcss/forms": "^0.5.11",
"@tailwindcss/postcss": "^4.2.2",
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.6.1",
"@types/jest": "^30.0.0",
"@types/react": "^19",
"@types/react-dom": "^19",
"babel-plugin-inline-react-svg": "^2.0.2",
"cheerio": "^1.2.0",
"gh-pages": "^6.3.0",
"jest": "^30.3.0",
"jest-environment-jsdom": "^30.3.0",
"jest-svg-transformer": "^1.0.0",
"react": "^19.2.4",
"react-dom": "^19.2.4",
"react-icons": "^5.6.0",
"rimraf": "^6.1.3",
"rollup": "^4.59.0",
"rollup-plugin-copy": "^3.5.0",
"rollup-plugin-delete": "^3.0.2",
"rollup-plugin-dts": "^6.4.0",
"rollup-plugin-filesize": "^10.0.0",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-typescript2": "^0.36.0",
"rollup-plugin-visualizer": "^7.0.1",
"storybook": "^10.3.1",
"tailwindcss": "^4.2.2",
"ts-jest": "^29.4.6",
"tslib": "^2.8.1",
"typescript": "^5.9.3",
"vite": "^8.0.1",
"yalc": "^1.0.0-pre.53"
},
"peerDependencies": {
"react": ">= 19",
"react-icons": ">= 5",
"tailwindcss": ">=4"
},
"scripts": {
"build": "yarn run rollup -c",
"build:tailwind": "tailwindcss -o tailwind/tailwind.css",
"create-icons-dir": "rimraf src/components/icons && npx mkdirp src/components/icons",
"create-icons": "npm run create-icons-dir && node src/bin/create-icons",
"tag": "git tag -s -a v$npm_package_version -m \"ooni-components $npm_package_version\"",
"tag:win": "git tag -s -a v%npm_package_version% -m \"ooni-components %npm_package_version%\"",
"test": "jest",
"lint": "eslint --ignore-path .gitignore --ignore-pattern '/components/icons/*' .",
"release": "yarn run build && yarn publish --new-version $npm_package_version",
"release:win": "yarn run build && yarn publish --new-version %npm_package_version%",
"release:alpha": "yarn run build && yarn publish --tag alpha --new-version $npm_package_version",
"eslint": "esw src/**",
"eslint-watch": "esw -w --changed src/**",
"eslint-watch-quiet": "esw -w --quiet --changed src/**",
"storybook": "storybook dev -p 6006",
"storybook:build": "storybook build"
},
"files": [
"dist",
"animations",
"svgs",
"index.d.ts",
"icons",
"tailwind"
]
}