-
Notifications
You must be signed in to change notification settings - Fork 126
/
package.json
52 lines (52 loc) · 2 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
{
"name": "drag-drop-touch",
"version": "2.0.0",
"description": "A polyfill that enables HTML5 drag-and-drop support for touch devices",
"type": "module",
"main": "dist/drag-drop-touch.esm.js",
"scripts": {
"build:base": "esbuild --bundle --format=esm ./ts/drag-drop-touch.ts",
"build:esm:debug": "npm run build:base -- --outfile=dist/drag-drop-touch.debug.esm.js",
"build:esm": "npm run build:base -- --drop-labels=DEBUG --outfile=dist/drag-drop-touch.esm.js",
"build:min": "npm run build:base -- --drop-labels=DEBUG --minify --outfile=dist/drag-drop-touch.esm.min.js",
"build": "npm run lint && npm run format && npm run build:esm:debug && npm run build:esm && npm run build:min",
"dev:setup": "playwright install",
"format": "prettier -w ts/*.ts",
"lint": "tsc --noEmit --target esnext --module esnext ts/drag-drop-touch.ts",
"server": "node server.js",
"start": "npm run build && npm run server",
"test:integration": "playwright test tests --workers=1 --timeout 5000 --global-timeout 15000",
"test": "npm run start -- -- --test && npm run test:cleanup",
"test:debug": "npm run start -- -- --test --debug && npm run test:cleanup",
"test:cleanup": "rm -rf test-results"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Bernardo-Castilho/dragdroptouch.git"
},
"keywords": [
"html5",
"drag",
"drop",
"mobile",
"touch"
],
"author": "Bernardo Castilho (https://github.com/Bernardo-Castilho)",
"contributors": [
"Andreas Rozek <a.rozek@gmx.de> (https://www.rozek.de/)",
"Pomax <pomax@nihongoresources.com> (https://pomax.github.io)"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/Bernardo-Castilho/dragdroptouch/issues"
},
"homepage": "https://github.com/Bernardo-Castilho/dragdroptouch#readme",
"devDependencies": {
"@playwright/test": "^1.45.2",
"esbuild": "^0.23.0",
"express": "^4.19.2",
"playwright": "^1.45.2",
"prettier": "^3.3.3",
"typescript": "^5.5.4"
}
}