-
-
Notifications
You must be signed in to change notification settings - Fork 462
/
package.json
109 lines (109 loc) · 2.65 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
{
"name": "html5sortable",
"main": "dist/html5sortable.js",
"file": "src/html5sortable.ts",
"files": [
"src/types/*.d.ts",
"src/*.ts",
"dist/*.js"
],
"dest": "dist",
"version": "0.14.0",
"license": "MIT",
"description": "VanillaJS sortable lists and grids using native HTML5 drag and drop API.",
"author": {
"name": "Lukas Oppermann",
"email": "lukas@vea.re",
"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": {
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-syntax-class-properties": "^7.12.13",
"@types/jest": "^27.5.2",
"@typescript-eslint/eslint-plugin": "^4.28.1",
"@typescript-eslint/parser": "^4.33.0",
"eslint": "^7.4.0",
"jest": "^24.9.0",
"rollup": "^2.52.3",
"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": "^17.0.0",
"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,
"babelConfig": {
"plugins": [
"@babel/plugin-proposal-class-properties"
]
}
}
}
},
"babel": {
"plugins": [
"@babel/plugin-proposal-class-properties"
]
},
"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 dist/html5sortable.js 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"
}
}