forked from hello-pangea/dnd
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
214 lines (214 loc) · 7.96 KB
/
package.json
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
{
"name": "@hello-pangea/dnd",
"version": "16.5.0",
"private": false,
"description": "Beautiful and accessible drag and drop for lists with React",
"author": "Alex Reardon <[email protected]>",
"maintainers": [
"Gabriel Santerre <[email protected]>",
"Reece Carolan <[email protected]>"
],
"keywords": [
"drag and drop",
"dnd",
"sortable",
"reorder",
"reorderable",
"react",
"react.js",
"natural",
"beautiful",
"accessible"
],
"repository": {
"type": "git",
"url": "https://github.com/hello-pangea/dnd.git"
},
"bugs": {
"url": "https://github.com/hello-pangea/dnd/issues"
},
"main": "dist/dnd.cjs.js",
"module": "dist/dnd.esm.js",
"types": "dist/dnd.d.ts",
"sideEffects": false,
"files": [
"/dist",
"/src"
],
"publishConfig": {
"access": "public"
},
"config": {
"prettier_target": "*.{js,jsx,ts,tsx,md,json} src/**/*.{js,jsx,ts,tsx,md,json} test/**/*.{js,jsx,ts,tsx,md,json} docs/**/*.{js,jsx,ts,tsx,md,json} stories/**/*.{js,jsx,ts,tsx,md,json} cypress/**/*.{js,jsx,ts,tsx,md,json} csp-server/**/*.{js,jsx,ts,tsx,md,json}"
},
"scripts": {
"commit": "cz",
"chromatic": "chromatic --project-token=f92123f238de",
"prepare": "husky install",
"release": "release-it",
"release:test": "release-it --dry-run",
"test:accessibility": "lighthouse http://localhost:9002/iframe.html?id=examples-single-vertical-list--basic --no-enable-error-reporting --config-path=lighthouse.config.js --chrome-flags='--headless' --output=json --output=html --output-path=./test-reports/lighthouse/a11y.json && node a11y-audit-parse.js",
"test": "jest --config ./jest.config.ts",
"test:react-16": "cross-env REACT_MAJOR_VERSION=16 pnpm test",
"test:react-17": "cross-env REACT_MAJOR_VERSION=17 pnpm test",
"test:react-18": "cross-env REACT_MAJOR_VERSION=18 pnpm test",
"test:browser": "cypress open",
"test:browser:ci": "cypress run",
"test:coverage": "pnpm test --coverage --coveragePathIgnorePatterns=/debug",
"validate": "pnpm prettier:check && pnpm lint:eslint && pnpm lint:css && pnpm typecheck",
"prettier:check": "pnpm prettier --debug-check $npm_package_config_prettier_target",
"prettier:write": "pnpm prettier --write $npm_package_config_prettier_target",
"lint:eslint": "pnpm eslint \"./**/*.{js,jsx,ts,tsx}\"",
"lint:css": "stylelint \"stories/**/*.{js,jsx,ts,tsx}\"",
"typecheck": "pnpm typecheck:lib && pnpm typecheck:test && pnpm typecheck:storybook",
"typecheck:lib": "pnpm tsc --project tsconfig.json",
"typecheck:storybook": "pnpm tsc --project stories/tsconfig.json && pnpm tsc --project .storybook/tsconfig.json",
"typecheck:test": "pnpm tsc --project test/tsconfig.json && pnpm tsc --project csp-server/tsconfig.json && pnpm tsc --project cypress/tsconfig.json",
"bundle-size:check": "cross-env SNAPSHOT=match pnpm bundle-size:update",
"bundle-size:update": "pnpm build:clean && pnpm build:dist && pnpm build:clean",
"build": "pnpm build:clean && pnpm build:dist",
"build:clean": "rimraf dist",
"build:dist": "cross-env NODE_ENV=production rollup -c",
"storybook": "start-storybook -p 9002",
"build-storybook": "build-storybook -c .storybook -o site",
"prepublishOnly": "pnpm build"
},
"dependencies": {
"@babel/runtime": "^7.23.2",
"css-box-model": "^1.2.1",
"memoize-one": "^6.0.0",
"raf-schd": "^4.0.3",
"react-redux": "^8.1.3",
"redux": "^4.2.1",
"use-memo-one": "^1.1.3"
},
"devDependencies": {
"@atlaskit/css-reset": "6.6.1",
"@atlaskit/theme": "12.6.2",
"@babel/core": "7.23.5",
"@babel/eslint-parser": "7.23.3",
"@babel/plugin-proposal-class-properties": "7.18.6",
"@babel/plugin-proposal-private-methods": "7.18.6",
"@babel/plugin-proposal-private-property-in-object": "7.21.11",
"@babel/plugin-transform-modules-commonjs": "7.23.3",
"@babel/plugin-transform-object-assign": "7.23.3",
"@babel/plugin-transform-runtime": "7.23.4",
"@babel/preset-env": "7.23.5",
"@babel/preset-react": "7.23.3",
"@babel/preset-typescript": "7.23.3",
"@commitlint/cli": "18.4.3",
"@commitlint/config-conventional": "18.4.3",
"@commitlint/cz-commitlint": "18.4.3",
"@emotion/babel-preset-css-prop": "11.11.0",
"@emotion/eslint-plugin": "11.11.0",
"@emotion/react": "11.11.1",
"@emotion/styled": "11.11.0",
"@jest/environment": "29.7.0",
"@release-it/conventional-changelog": "8.0.1",
"@rollup/plugin-babel": "6.0.4",
"@rollup/plugin-commonjs": "25.0.7",
"@rollup/plugin-json": "6.0.1",
"@rollup/plugin-node-resolve": "15.2.3",
"@rollup/plugin-replace": "5.0.5",
"@rollup/plugin-strip": "3.0.4",
"@rollup/plugin-terser": "0.4.4",
"@storybook/addon-docs": "6.5.16",
"@storybook/addon-essentials": "6.5.16",
"@storybook/addon-storysource": "6.5.16",
"@storybook/addons": "6.5.16",
"@storybook/builder-webpack5": "6.5.16",
"@storybook/core": "6.5.16",
"@storybook/manager-webpack5": "6.5.16",
"@storybook/react": "6.5.16",
"@storybook/theming": "6.5.16",
"@testing-library/dom": "9.3.3",
"@testing-library/jest-dom": "5.17.0",
"@testing-library/react": "14.1.2",
"@testing-library/react-16-17": "npm:@testing-library/[email protected]",
"@types/express": "4.17.21",
"@types/fs-extra": "11.0.4",
"@types/jest-axe": "3.5.9",
"@types/jsdom": "21.1.6",
"@types/markdown-it": "13.0.7",
"@types/node": "20.10.3",
"@types/raf-schd": "4.0.3",
"@types/react": "18.2.42",
"@types/react-dom": "18.2.17",
"@types/react-redux": "7.1.32",
"@types/react-virtualized": "9.21.28",
"@types/react-window": "1.8.8",
"@types/seedrandom": "3.0.8",
"@types/testing-library__jest-dom": "5.14.9",
"@typescript-eslint/eslint-plugin": "6.13.2",
"@typescript-eslint/parser": "6.13.2",
"babel-jest": "29.7.0",
"babel-loader": "9.1.3",
"babel-plugin-dev-expression": "0.2.3",
"babel-plugin-module-resolver": "5.0.0",
"commitizen": "4.3.0",
"cross-env": "7.0.3",
"csstype": "3.1.2",
"cypress": "10.11.0",
"dotenv": "16.3.1",
"eslint": "8.55.0",
"eslint-config-airbnb": "19.0.4",
"eslint-config-prettier": "9.1.0",
"eslint-import-resolver-typescript": "3.6.1",
"eslint-plugin-cypress": "2.15.1",
"eslint-plugin-es5": "1.5.0",
"eslint-plugin-import": "2.29.0",
"eslint-plugin-jest": "27.6.0",
"eslint-plugin-jsx-a11y": "6.8.0",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-prettier": "5.0.1",
"eslint-plugin-react": "7.33.2",
"eslint-plugin-react-hooks": "4.6.0",
"eslint-plugin-storybook": "0.6.15",
"express": "4.18.2",
"fast-glob": "3.3.2",
"fs-extra": "11.2.0",
"husky": "8.0.3",
"jest": "29.7.0",
"jest-axe": "8.0.0",
"jest-environment-jsdom": "29.7.0",
"jest-junit": "16.0.0",
"jest-watch-typeahead": "2.2.2",
"jsdom": "23.0.1",
"lighthouse": "10.4.0",
"markdown-it": "13.0.2",
"memory-fs": "0.5.0",
"postcss-styled-syntax": "0.5.0",
"prettier": "3.1.0",
"raf-stub": "3.0.0",
"react": "18.2.0",
"react-16": "npm:[email protected]",
"react-17": "npm:[email protected]",
"react-dom": "18.2.0",
"react-dom-16": "npm:[email protected]",
"react-dom-17": "npm:[email protected]",
"react-virtualized": "9.22.5",
"react-window": "1.8.10",
"release-it": "16.3.0",
"require-from-string": "2.0.2",
"rimraf": "5.0.5",
"rollup": "3.29.4",
"rollup-plugin-dts": "5.3.1",
"seedrandom": "3.0.5",
"styled-components": "5.3.11",
"stylelint": "15.11.0",
"stylelint-config-recommended": "13.0.0",
"stylelint-config-standard": "34.0.0",
"typescript": "4.9.5",
"wait-on": "7.2.0",
"webpack": "5.89.0"
},
"peerDependencies": {
"react": "^16.8.5 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.8.5 || ^17.0.0 || ^18.0.0"
},
"license": "Apache-2.0",
"jest-junit": {
"output": "test-reports/junit/js-test-results.xml"
},
"packageManager": "[email protected]"
}