-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
78 lines (78 loc) · 1.59 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
{
"name": "suni",
"description": "Arr, Hash, Is, Obj, Random, Str, Wrandom.",
"author": "Yahtnif <yahtnif@gmail.com>",
"version": "1.1.0",
"main": "dist/index.js",
"module": "dist/index.es.js",
"jsnext:main": "dist/index.es.js",
"typings": "dist/src/index.d.ts",
"repository": "yahtnif/suni",
"homepage": "https://github.com/yahtnif/suni",
"license": "Anti 996",
"keywords": [
"arr",
"array",
"chunk",
"hash",
"is",
"obj",
"object",
"split",
"str",
"string",
"random",
"wrandom",
"suni"
],
"scripts": {
"build": "rollup --c",
"pass": "jest && rollup --c && size-limit",
"test": "jest",
"version": "rollup --c"
},
"lint-staged": {
"{src|__tests__}/**/*.{js,ts}": [
"prettier --write",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && jest",
"pre-push": "jest && rollup --c && size-limit"
}
},
"size-limit": [
{
"limit": "5 KB",
"path": "dist/index.js"
}
],
"prettier": {
"semi": false,
"singleQuote": true
},
"engines": {
"node": ">=8"
},
"files": [
"dist/*.js",
"dist/src/*.d.ts"
],
"devDependencies": {
"@types/jest": "24.0.18",
"husky": "^3.0.8",
"jest": "^24.9.0",
"lint-staged": "^9.4.2",
"prettier": "1.18.2",
"rollup": "^1.23.1",
"rollup-plugin-cleanup": "^3.1.1",
"rollup-plugin-clear": "^2.0.7",
"rollup-plugin-filesize": "^6.2.0",
"rollup-plugin-typescript2": "0.24.3",
"size-limit": "^0.21.1",
"ts-jest": "24.1.0",
"typescript": "3.6.3"
}
}