-
Notifications
You must be signed in to change notification settings - Fork 2k
Expand file tree
/
Copy pathpackage.json
More file actions
64 lines (64 loc) · 1.7 KB
/
Copy pathpackage.json
File metadata and controls
64 lines (64 loc) · 1.7 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
{
"name": "@automattic/privacy-toolset",
"version": "2.1.0",
"description": "Privacy tools and components for Automattic solutions.",
"homepage": "https://github.com/Automattic/wp-calypso",
"license": "GPL-2.0-or-later",
"author": "Automattic Inc.",
"sideEffects": [
"*.css",
"*.scss"
],
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"calypso:src": "src/index.ts",
"exports": {
".": {
"calypso:src": "./src/index.ts",
"types": "./dist/types/index.d.ts",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/Automattic/wp-calypso.git",
"directory": "packages/privacy-toolset"
},
"files": [
"dist",
"src"
],
"types": "dist/types",
"publishConfig": {
"access": "public"
},
"bugs": "https://github.com/Automattic/wp-calypso/issues",
"scripts": {
"clean": "tsc --build ./tsconfig.json ./tsconfig-cjs.json --clean && rm -rf dist",
"build": "tsc --build ./tsconfig.json ./tsconfig-cjs.json && copy-assets",
"prepack": "yarn run clean && yarn run build",
"watch": "tsc --build ./tsconfig.json --watch",
"storybook:start": "storybook dev"
},
"dependencies": {
"clsx": "^2.1.1"
},
"peerDependencies": {
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"devDependencies": {
"@automattic/calypso-build": "workspace:^",
"@automattic/calypso-storybook": "workspace:^",
"@automattic/calypso-typescript-config": "workspace:^",
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"postcss": "^8.5.3",
"require-from-string": "^2.0.2",
"storybook": "^10.4.2",
"typescript": "^6.0.3",
"webpack": "^5.99.8"
}
}