-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.json
66 lines (66 loc) · 1.63 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
{
"name": "natsort",
"version": "2.0.3",
"description": "Javascript natural sort algorithm with unicode support.",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"files": [
"lib/*.d.ts",
"lib/*.js",
"dist/*.js"
],
"directories": {
"lib": "lib/",
"dist": "dist/"
},
"keywords": [
"natural",
"natsort",
"sort",
"sorter",
"numeric",
"unicode",
"algorithm",
"date",
"datetime",
"desc",
"case-insensitive"
],
"author": {
"name": "bubkooo",
"email": "[email protected]"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/bubkoo/natsort.git"
},
"bugs": {
"url": "https://github.com/bubkoo/natsort/issues"
},
"homepage": "https://github.com/bubkoo/natsort#readme",
"devDependencies": {
"@types/jest": "^23.3.1",
"coveralls": "^3.0.2",
"jest": "^23.5.0",
"rimraf": "^2.6.2",
"ts-jest": "^23.1.4",
"tslint": "^5.11.0",
"tslint-config-airbnb": "^5.11.0",
"typescript": "^3.0.3",
"uglify-js": "^2.6.2"
},
"scripts": {
"lint": "tslint ./src/*.ts -c tslint.json -p tsconfig.json --fix",
"clean": "rimraf lib && rimraf dist",
"pretest": "rimraf ./test/coverage",
"test": "jest",
"coveralls": "cat ./test/coverage/lcov.info | coveralls",
"prepublish": "npm test",
"uglify": "uglifyjs ./dist/index.js -o ./dist/natsort.min.js -m -c",
"build:lib": "tsc",
"build:dist": "tsc -d false -m UMD --outDir ./dist && npm run uglify && rimraf ./dist/index.js",
"prebuild": "npm run clean",
"build": "npm run build:lib && npm run build:dist"
}
}