|
1 | 1 | { |
2 | | - "name": "@10up/block-components", |
3 | | - "publishConfig": { |
4 | | - "access": "public" |
5 | | - }, |
6 | | - "version": "1.21.3", |
7 | | - "description": "10up Components built for the WordPress Block Editor.", |
8 | | - "main": "./dist/index.js", |
9 | | - "source": "index.ts", |
10 | | - "types": "./dist/index.d.ts", |
11 | | - "exports": { |
12 | | - ".": { |
13 | | - "import": { |
14 | | - "types": "./dist/index.d.ts", |
15 | | - "default": "./dist/index.js" |
16 | | - }, |
17 | | - "require": { |
18 | | - "types": "./dist/index.d.ts", |
19 | | - "default": "./dist/index.js" |
20 | | - } |
21 | | - }, |
22 | | - "./api/*": { |
23 | | - "import": { |
24 | | - "types": "./dist/api/*/index.d.ts", |
25 | | - "default": "./dist/api/*/index.js" |
26 | | - }, |
27 | | - "require": { |
28 | | - "types": "./dist/api/*/index.d.ts", |
29 | | - "default": "./dist/api/*/index.js" |
30 | | - } |
31 | | - }, |
32 | | - "./components/*": { |
33 | | - "import": { |
34 | | - "types": "./dist/components/*/index.d.ts", |
35 | | - "default": "./dist/components/*/index.js" |
36 | | - }, |
37 | | - "require": { |
38 | | - "types": "./dist/components/*/index.d.ts", |
39 | | - "default": "./dist/components/*/index.js" |
40 | | - } |
41 | | - }, |
42 | | - "./hooks/*": { |
43 | | - "import": { |
44 | | - "types": "./dist/hooks/*/index.d.ts", |
45 | | - "default": "./dist/hooks/*/index.js" |
46 | | - }, |
47 | | - "require": { |
48 | | - "types": "./dist/hooks/*/index.d.ts", |
49 | | - "default": "./dist/hooks/*/index.js" |
50 | | - } |
51 | | - }, |
52 | | - "./stores/*": { |
53 | | - "import": { |
54 | | - "types": "./dist/stores/*/index.d.ts", |
55 | | - "default": "./dist/stores/*/index.js" |
56 | | - }, |
57 | | - "require": { |
58 | | - "types": "./dist/stores/*/index.d.ts", |
59 | | - "default": "./dist/stores/*/index.js" |
60 | | - } |
61 | | - } |
62 | | - }, |
63 | | - "scripts": { |
64 | | - "prepublishOnly": "npm run build", |
65 | | - "lint": "10up-toolkit lint-js", |
66 | | - "test": "10up-toolkit test-unit-jest", |
67 | | - "build": "npm run clean-dist && 10up-toolkit build", |
68 | | - "start": "10up-toolkit start", |
69 | | - "clean": "10up-toolkit clean", |
70 | | - "clean-dist": "rm -rf ./dist", |
71 | | - "build-test-env": "npm run build --workspaces --if-present", |
72 | | - "start-test-env": "npm run start-env -w example/ && npm run import-media -w example/", |
73 | | - "test:e2e": "cypress open", |
74 | | - "cypress:open": "cypress open --config-file ./cypress.config.js --e2e --browser chrome", |
75 | | - "cypress:run": "cypress run --config-file ./cypress.config.js" |
76 | | - }, |
77 | | - "repository": { |
78 | | - "type": "git", |
79 | | - "url": "git+https://github.com/10up/block-components.git" |
80 | | - }, |
81 | | - "workspaces": [ |
82 | | - "./", |
83 | | - "example/" |
84 | | - ], |
85 | | - "keywords": [ |
86 | | - "gutenberg", |
87 | | - "WordPress", |
88 | | - "block-editor" |
89 | | - ], |
90 | | - "author": { |
91 | | - "name": "10up", |
92 | | - "email": "info@10up.com", |
93 | | - "url": "https://10up.com" |
94 | | - }, |
95 | | - "files": [ |
96 | | - "dist", |
97 | | - "README.md" |
98 | | - ], |
99 | | - "license": "GPL-2.0-or-later", |
100 | | - "bugs": { |
101 | | - "url": "https://github.com/10up/block-components.git/issues" |
102 | | - }, |
103 | | - "homepage": "https://github.com/10up/block-components.git#readme", |
104 | | - "peerDependencies": { |
105 | | - "react": "^18.3.0", |
106 | | - "react-dom": "^18.3.0" |
107 | | - }, |
108 | | - "dependencies": { |
109 | | - "@dnd-kit/core": "^6.1.0", |
110 | | - "@dnd-kit/modifiers": "^7.0.0", |
111 | | - "@dnd-kit/sortable": "^8.0.0", |
112 | | - "@dnd-kit/utilities": "^3.2.2", |
113 | | - "@emotion/react": "^11.11.4", |
114 | | - "@emotion/styled": "^11.11.5", |
115 | | - "@floating-ui/react-dom": "^2.1.0", |
116 | | - "@leeoniya/ufuzzy": "^1.0.14", |
117 | | - "@tanstack/react-query": "^5.52.0", |
118 | | - "@typescript-eslint/parser": "^6.21.0", |
119 | | - "@wordpress/icons": "^10.0.0", |
120 | | - "array-move": "^4.0.0", |
121 | | - "clsx": "^2.1.1", |
122 | | - "react-window": "^1.8.10", |
123 | | - "uuid": "^9.0.1", |
124 | | - "wp-types": "^3.65.0" |
125 | | - }, |
126 | | - "devDependencies": { |
127 | | - "@10up/cypress-wp-utils": "github:10up/cypress-wp-utils#build", |
128 | | - "@types/jest": "^29.5.12", |
129 | | - "@types/lodash": "^4.17.5", |
130 | | - "@types/react-window": "^1.8.8", |
131 | | - "@types/uuid": "^9.0.8", |
132 | | - "@types/wordpress__block-editor": "^11.5.14", |
133 | | - "@wordpress/block-editor": "^14.14.5", |
134 | | - "@wordpress/components": "^29.5.3", |
135 | | - "@wordpress/core-data": "^7.19.5", |
136 | | - "@wordpress/data": "^10.19.1", |
137 | | - "@wordpress/dependency-extraction-webpack-plugin": "^5.8.0", |
138 | | - "@wordpress/element": "^6.19.1", |
139 | | - "10up-toolkit": "^6.5.0", |
140 | | - "cypress": "^13.8.1", |
141 | | - "cypress-localstorage-commands": "^2.2.5" |
142 | | - }, |
143 | | - "overrides": { |
144 | | - "react-autosize-textarea": { |
145 | | - "react-dom": "^18.0.0", |
146 | | - "react": "^18.0.0" |
147 | | - } |
148 | | - } |
| 2 | + "name": "@10up/block-components", |
| 3 | + "publishConfig": { |
| 4 | + "access": "public" |
| 5 | + }, |
| 6 | + "version": "1.21.3", |
| 7 | + "description": "10up Components built for the WordPress Block Editor.", |
| 8 | + "main": "./dist/index.js", |
| 9 | + "source": "index.ts", |
| 10 | + "umd:main": "./dist/index.umd.js", |
| 11 | + "types": "./dist/index.d.ts", |
| 12 | + "exports": { |
| 13 | + ".": { |
| 14 | + "import": { |
| 15 | + "types": "./dist/index.d.ts", |
| 16 | + "default": "./dist/index.js" |
| 17 | + }, |
| 18 | + "require": { |
| 19 | + "types": "./dist/index.d.ts", |
| 20 | + "default": "./dist/index.js" |
| 21 | + } |
| 22 | + }, |
| 23 | + "./api/*": { |
| 24 | + "import": { |
| 25 | + "types": "./dist/api/*/index.d.ts", |
| 26 | + "default": "./dist/api/*/index.js" |
| 27 | + }, |
| 28 | + "require": { |
| 29 | + "types": "./dist/api/*/index.d.ts", |
| 30 | + "default": "./dist/api/*/index.js" |
| 31 | + } |
| 32 | + }, |
| 33 | + "./components/*": { |
| 34 | + "import": { |
| 35 | + "types": "./dist/components/*/index.d.ts", |
| 36 | + "default": "./dist/components/*/index.js" |
| 37 | + }, |
| 38 | + "require": { |
| 39 | + "types": "./dist/components/*/index.d.ts", |
| 40 | + "default": "./dist/components/*/index.js" |
| 41 | + } |
| 42 | + }, |
| 43 | + "./hooks/*": { |
| 44 | + "import": { |
| 45 | + "types": "./dist/hooks/*/index.d.ts", |
| 46 | + "default": "./dist/hooks/*/index.js" |
| 47 | + }, |
| 48 | + "require": { |
| 49 | + "types": "./dist/hooks/*/index.d.ts", |
| 50 | + "default": "./dist/hooks/*/index.js" |
| 51 | + } |
| 52 | + }, |
| 53 | + "./stores/*": { |
| 54 | + "import": { |
| 55 | + "types": "./dist/stores/*/index.d.ts", |
| 56 | + "default": "./dist/stores/*/index.js" |
| 57 | + }, |
| 58 | + "require": { |
| 59 | + "types": "./dist/stores/*/index.d.ts", |
| 60 | + "default": "./dist/stores/*/index.js" |
| 61 | + } |
| 62 | + } |
| 63 | + }, |
| 64 | + "scripts": { |
| 65 | + "prepublishOnly": "npm run build", |
| 66 | + "lint": "10up-toolkit lint-js", |
| 67 | + "test": "10up-toolkit test-unit-jest", |
| 68 | + "build": "npm run clean-dist && 10up-toolkit build", |
| 69 | + "start": "10up-toolkit start", |
| 70 | + "clean": "10up-toolkit clean", |
| 71 | + "clean-dist": "rm -rf ./dist", |
| 72 | + "build-test-env": "npm run build --workspaces --if-present", |
| 73 | + "start-test-env": "npm run start-env -w example/ && npm run import-media -w example/", |
| 74 | + "test:e2e": "cypress open", |
| 75 | + "cypress:open": "cypress open --config-file ./cypress.config.js --e2e --browser chrome", |
| 76 | + "cypress:run": "cypress run --config-file ./cypress.config.js" |
| 77 | + }, |
| 78 | + "repository": { |
| 79 | + "type": "git", |
| 80 | + "url": "git+https://github.com/10up/block-components.git" |
| 81 | + }, |
| 82 | + "workspaces": [ |
| 83 | + "./", |
| 84 | + "example/" |
| 85 | + ], |
| 86 | + "keywords": [ |
| 87 | + "gutenberg", |
| 88 | + "WordPress", |
| 89 | + "block-editor" |
| 90 | + ], |
| 91 | + "author": { |
| 92 | + "name": "10up", |
| 93 | + "email": "info@10up.com", |
| 94 | + "url": "https://10up.com" |
| 95 | + }, |
| 96 | + "files": [ |
| 97 | + "dist", |
| 98 | + "README.md" |
| 99 | + ], |
| 100 | + "license": "GPL-2.0-or-later", |
| 101 | + "bugs": { |
| 102 | + "url": "https://github.com/10up/block-components.git/issues" |
| 103 | + }, |
| 104 | + "homepage": "https://github.com/10up/block-components.git#readme", |
| 105 | + "peerDependencies": { |
| 106 | + "react": "^18.3.0", |
| 107 | + "react-dom": "^18.3.0" |
| 108 | + }, |
| 109 | + "dependencies": { |
| 110 | + "@dnd-kit/core": "^6.1.0", |
| 111 | + "@dnd-kit/modifiers": "^7.0.0", |
| 112 | + "@dnd-kit/sortable": "^8.0.0", |
| 113 | + "@dnd-kit/utilities": "^3.2.2", |
| 114 | + "@emotion/react": "^11.11.4", |
| 115 | + "@emotion/styled": "^11.11.5", |
| 116 | + "@floating-ui/react-dom": "^2.1.0", |
| 117 | + "@leeoniya/ufuzzy": "^1.0.14", |
| 118 | + "@tanstack/react-query": "^5.52.0", |
| 119 | + "@typescript-eslint/parser": "^6.21.0", |
| 120 | + "@wordpress/icons": "^10.0.0", |
| 121 | + "array-move": "^4.0.0", |
| 122 | + "clsx": "^2.1.1", |
| 123 | + "react-window": "^1.8.10", |
| 124 | + "uuid": "^9.0.1", |
| 125 | + "wp-types": "^3.65.0" |
| 126 | + }, |
| 127 | + "devDependencies": { |
| 128 | + "@10up/cypress-wp-utils": "github:10up/cypress-wp-utils#build", |
| 129 | + "@types/jest": "^29.5.12", |
| 130 | + "@types/lodash": "^4.17.5", |
| 131 | + "@types/react-window": "^1.8.8", |
| 132 | + "@types/uuid": "^9.0.8", |
| 133 | + "@types/wordpress__block-editor": "^11.5.14", |
| 134 | + "@wordpress/block-editor": "^14.14.5", |
| 135 | + "@wordpress/components": "^29.5.3", |
| 136 | + "@wordpress/core-data": "^7.19.5", |
| 137 | + "@wordpress/data": "^10.19.1", |
| 138 | + "@wordpress/dependency-extraction-webpack-plugin": "^5.8.0", |
| 139 | + "@wordpress/element": "^6.19.1", |
| 140 | + "10up-toolkit": "^6.5.0", |
| 141 | + "cypress": "^13.8.1", |
| 142 | + "cypress-localstorage-commands": "^2.2.5" |
| 143 | + }, |
| 144 | + "10up-toolkit": { |
| 145 | + "libraryName": "TenupBlockComponents" |
| 146 | + }, |
| 147 | + "overrides": { |
| 148 | + "react-autosize-textarea": { |
| 149 | + "react-dom": "^18.0.0", |
| 150 | + "react": "^18.0.0" |
| 151 | + } |
| 152 | + } |
149 | 153 | } |
0 commit comments