forked from lukasoppermann/html5sortable
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
97 lines (97 loc) · 2.33 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
{
"name": "html5sortable",
"main": "dist/html5sortable.js",
"file": "src/html5sortable.ts",
"files": [
"src/types/*.d.ts",
"src/*.ts",
"dist/*.js"
],
"dest": "dist",
"version": "0.10.0",
"license": "MIT",
"description": "VanillaJS sortable lists and grids using native HTML5 drag and drop API.",
"author": {
"name": "Lukas Oppermann",
"email": "[email protected]",
"url": "http://vea.re"
},
"keywords": [
"sortable",
"html5",
"drag and drop"
],
"repository": {
"type": "git",
"url": "http://github.com/lukasoppermann/html5sortable"
},
"bugs": {
"url": "http://github.com/lukasoppermann/html5sortable/issues"
},
"devDependencies": {
"@types/jest": "^26.0.3",
"@typescript-eslint/eslint-plugin": "^4.4.0",
"@typescript-eslint/parser": "^4.4.0",
"eslint": "^7.4.0",
"jest": "^24.9.0",
"rollup": "^2.18.2",
"rollup-plugin-strip-code": "^0.2.7",
"rollup-plugin-typescript": "^1.0.1",
"rollup-plugin-uglify": "^6.0.4",
"rollup-watch": "^4.3.1",
"snazzy": "^9.0.0",
"standard": "^16.0.3",
"ts-jest": "^24.3.0",
"typescript": "^4.0.3",
"typescript-eslint-parser": "^22.0.0"
},
"jest": {
"collectCoverage": false,
"collectCoverageFrom": [
"src/*.ts"
],
"notify": true,
"moduleFileExtensions": [
"ts",
"js"
],
"transform": {
"^.+\\.ts?$": "ts-jest"
},
"testMatch": [
"**/__tests__/**/*.test.(ts|js)"
],
"globals": {
"ts-jest": {
"diagnostics": false
}
}
},
"standard": {
"globals": [
"HTMLElement",
"configuration",
"Event",
"sortable",
"offsetObject",
"serializedItem",
"Store"
],
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
]
},
"scripts": {
"jest": "jest",
"test": "jest --coverage && npm run standard",
"coverage": "jest --coverage && npm run standard",
"build": "rollup -c && cp $npm_package_main docs/html5sortable.js",
"release": "sh make-release.sh",
"standard": "standard 'src/*.ts' '__tests__/*.ts' | snazzy",
"github-build": "npm run cover && npm run standard",
"cover": "jest --coverage",
"postversion": "npm run release",
"tsc": "tsc ./src/*.ts --pretty --diagnostics --noEmit --watch"
}
}