-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
103 lines (103 loc) · 2.91 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
{
"name": "sort-by-property",
"version": "1.3.0",
"description": "Type-safe array sorting method with support for deeply nested properties and Typescript autocompletion.",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"devDependencies": {
"@rollup/plugin-terser": "^0.4.3",
"@rollup/plugin-typescript": "^11.1.2",
"@swc/core": "^1.3.44",
"@swc/helpers": "^0.4.14",
"@types/jest": "^29.5.2",
"@types/lodash.orderby": "^4.6.7",
"@types/lodash.sortby": "^4.7.7",
"@types/node": "^18.14.2",
"@typescript-eslint/eslint-plugin": "^5.54.0",
"@typescript-eslint/parser": "^5.60.1",
"auto-changelog": "^2.4.0",
"dotenv-cli": "^7.0.0",
"eslint": "^8.39.0",
"husky": "^8.0.3",
"jest": "^29.5.0",
"lint-staged": "^13.2.3",
"lodash.orderby": "^4.6.0",
"lodash.sortby": "^4.7.0",
"node-dev": "^8.0.0",
"nodemon": "^2.0.22",
"prettier": "^2.8.4",
"regenerator-runtime": "^0.14.0",
"release-it": "^16.1.5",
"rollup": "^3.27.0",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"typescript": "^5.0.3"
},
"scripts": {
"prepublish": "npm run build",
"build": "npx rollup --config rollup.config.ts --configPlugin @rollup/plugin-typescript --bundleConfigAsCjs",
"test": "jest",
"test:watch": "jest --watch",
"performance": "nodemon --watch src src/examples/performance.ts",
"performance:lodash-sortby": "nodemon --watch src src/examples/performance-lodash-sortby.ts",
"performance:lodash-orderby": "nodemon --watch src src/examples/performance-lodash-orderby.ts",
"prepare": "husky install",
"release": "dotenv npx release-it",
"lint-staged": "lint-staged"
},
"repository": {
"type": "git",
"url": "git+https://github.com/jvandenaardweg/sort-by-property.git"
},
"keywords": [
"typescript",
"sorting",
"array",
"sort",
"sortby",
"javascript",
"order",
"orderby",
"typed",
"typesafe"
],
"author": "Jordy van den Aardweg <jordyvandenaardweg@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/jvandenaardweg/sort-by-property/issues"
},
"homepage": "https://github.com/jvandenaardweg/sort-by-property#readme",
"release-it": {
"git": {
"commitMessage": "chore: release v${version}",
"changelog": "npx auto-changelog --stdout --commit-limit false --unreleased --template https://raw.githubusercontent.com/release-it/release-it/master/templates/changelog-compact.hbs"
},
"hooks": {
"after:bump": "npx auto-changelog -p"
},
"npm": {
"publish": false
},
"github": {
"release": true,
"releaseName": "v${version}"
}
},
"lint-staged": {
"*.ts": [
"prettier --write",
"yarn test-single"
],
"*.js": [
"prettier --write"
],
"*.json": [
"prettier --write"
]
},
"husky": {
"hooks": {
"precommit": "lint-staged"
}
}
}