forked from lukasoppermann/html5sortable
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
79 lines (79 loc) · 2.08 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
{
"name": "html5sortable",
"main": "dist/html5sortable.js",
"file": "src/html5sortable.ts",
"dest": "dist",
"version": "0.9.8",
"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": {
"@types/jest": "^23.3.1",
"coveralls": "^3.0.2",
"eslint": "^5.6.1",
"eslint-plugin-typescript": "^0.14.0",
"jest": "^23.5.0",
"rollup": "^0.68.0",
"rollup-plugin-strip-code": "^0.2.6",
"rollup-plugin-typescript": "^0.8.1",
"rollup-plugin-uglify": "^6.0.1",
"rollup-watch": "^4.3.1",
"snazzy": "^8.0.0",
"standard": "^12.0.1",
"ts-jest": "^23.1.4",
"typescript": "^3.1.2",
"typescript-eslint-parser": "^21.0.0"
},
"jest": {
"collectCoverage": false,
"collectCoverageFrom": [
"src/*.ts"
],
"notify": true,
"moduleFileExtensions": [
"ts",
"js"
],
"transform": {
"^.+\\.ts?$": "ts-jest"
},
"testMatch": [
"**/__tests__/**/*.test.(ts|js)"
]
},
"standard": {
"parser": "typescript-eslint-parser",
"plugins": [
"typescript"
]
},
"scripts": {
"jest": "jest",
"test": "jest && npm run standard",
"coverage": "jest --coverage && npm run standard",
"build": "rollup -c && cp $npm_package_main docs/html5sortable.js",
"standard": "standard 'src/*.ts' '__tests__/*.ts' | snazzy",
"travis": "npm run cover && npm run standard",
"cover": "jest --colors --coverage --coverageReporters=text-lcov | coveralls",
"preversion": "npm test",
"version": "npm run build && git add -A dist docs",
"postversion": "git push && git push --tags",
"tsc": "tsc ./src/*.ts --pretty --diagnostics --noEmit --watch"
}
}