-
Notifications
You must be signed in to change notification settings - Fork 28
/
package.json
99 lines (99 loc) · 5.04 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
{
"name": "dflex-monorepo",
"description": "DFlex is a Javascript library for modern Drag and Drop apps.",
"private": true,
"license": "MIT",
"workspaces": [
"packages/**",
"playgrounds/**",
"scripts/*"
],
"repository": "https://github.com/dflex-js/dflex",
"author": "Jalal Maskoun",
"scripts": {
"start:dnd": "cross-env NODE_ENV=development pnpm -F dflex-dnd-playground dev",
"start:draggable": "cross-env NODE_ENV=development pnpm -F dflex-draggable-playground dev",
"start:next": "cross-env NODE_ENV=development pnpm -F dflex-next-playground dev",
"serve:dnd": "pnpm -F dflex-dnd-playground preview",
"serve:draggable": "pnpm -F dflex-draggable-playground preview",
"serve:next": "pnpm -F dflex-dnd-playground start",
"start:cy": "start-server-and-test start:dnd http-get://localhost:3001 'cypress open --env extended=true --project playgrounds/dflex-dnd-playground'",
"cy:run:vertical:chrome": "cypress run --env extended=true --project playgrounds/dflex-dnd-playground --headless --spec 'playgrounds/dflex-dnd-playground/cypress/e2e/same-container-vertical/**/*.cy.ts' --config-file cypress.config.ts --browser chrome",
"cy:run:multi:chrome": "cypress run --project playgrounds/dflex-dnd-playground --headless --spec 'playgrounds/dflex-dnd-playground/cypress/e2e/multiple-containers/**/*.cy.ts' --config-file cypress.config.ts --browser chrome",
"test-e2e-vertical:chrome": "start-server-and-test serve:dnd http-get://localhost:3001 cy:run:vertical:chrome",
"test-e2e-multi:chrome": "start-server-and-test serve:dnd http-get://localhost:3001 cy:run:multi:chrome",
"test-e2e:chromium": "playwright test --project=\"chromium\"",
"test-e2e:firefox": "playwright test --project=\"firefox\"",
"test-e2e:webkit": "playwright test --project=\"webkit\"",
"test-e2e-ci:chromium": "cross-env PLAYGROUND_TYPE=dflex-dnd start-server-and-test serve:dnd http-get://localhost:3001 test-e2e:chromium",
"test-e2e-ci:firefox": "cross-env PLAYGROUND_TYPE=dflex-dnd start-server-and-test serve:dnd http-get://localhost:3001 test-e2e:firefox",
"test-e2e-ci:webkit": "cross-env PLAYGROUND_TYPE=dflex-dnd start-server-and-test serve:dnd http-get://localhost:3001 test-e2e:webkit",
"test-e2e-ci-draggable:chromium": "cross-env PLAYGROUND_TYPE=dflex-draggable start-server-and-test serve:draggable http-get://localhost:3000 test-e2e:chromium",
"test-e2e-ci-draggable:firefox": "cross-env PLAYGROUND_TYPE=dflex-draggable start-server-and-test serve:draggable http-get://localhost:3000 test-e2e:firefox",
"test-e2e-ci-draggable:webkit": "cross-env PLAYGROUND_TYPE=dflex-draggable start-server-and-test serve:draggable http-get://localhost:3000 test-e2e:webkit",
"test-e2e-next:chromium": "cross-env PLAYGROUND_TYPE=next-dnd start-server-and-test start:next http-get://localhost:3002 test-e2e:chromium",
"test-e2e-next:firefox": "cross-env PLAYGROUND_TYPE=next-dnd start-server-and-test start:next http-get://localhost:3002 test-e2e:firefox",
"test-e2e-next:webkit": "cross-env PLAYGROUND_TYPE=next-dnd start-server-and-test start:next http-get://localhost:3002 test-e2e:webkit",
"test-unit": "jest",
"test-unit:coverage": "rimraf ./coverage && pnpm jest --coverage",
"clean": "pnpm -r --parallel clean",
"build": "node scripts/build/index.js",
"build-prod": "pnpm clean && pnpm bundle-types && pnpm run build --production --release --minify",
"check-types": "tsc --noEmit",
"bundle-types": "node scripts/dflex-bundle-types/index.js",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx --fix",
"prepare-release": "changeset",
"update-version": "pnpm changeset version && pnpm install",
"size": "pnpm build-prod && pnpm size-limit"
},
"devDependencies": {
"@babel/preset-typescript": "^7.23.2",
"@changesets/cli": "^2.26.2",
"@playwright/test": "^1.39.0",
"@size-limit/preset-big-lib": "^10.0.2",
"@types/jest": "^29.5.7",
"@types/node": "^20.8.10",
"@types/react": "^18.2.34",
"@types/react-dom": "^18.2.14",
"@types/react-router-dom": "^5.3.3",
"@vitejs/plugin-react": "^4.1.1",
"cross-env": "^7.0.3",
"cypress": "^13.4.0",
"eslint-config-dflex": "workspace:*",
"istanbul-lib-instrument": "^6.0.1",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"prettier": "^3.0.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.18.0",
"rimraf": "^5.0.5",
"size-limit": "^10.0.2",
"start-server-and-test": "^2.0.1",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"typescript": "^5.2.2",
"vite": "^4.5.0",
"vite-plugin-replace": "^0.1.1"
},
"size-limit": [
{
"path": "packages/dflex-dnd/dist/dflex-dnd.mjs"
},
{
"path": "packages/dflex-core-instance/dist/dflex-core.mjs"
},
{
"path": "packages/dflex-dom-gen/dist/dflex-dom.mjs"
},
{
"path": "packages/dflex-store/dist/dflex-store.mjs"
},
{
"path": "packages/dflex-utils/dist/dflex-utils.mjs"
},
{
"path": "packages/dflex-draggable/dist/dflex-draggable.mjs"
}
]
}