1 | {
|
2 | "name": "suni",
|
3 | "description": "Arr, Hash, Is, Obj, Random, Str, Wrandom.",
|
4 | "author": "Yahtnif <yahtnif@gmail.com>",
|
5 | "version": "0.10.0",
|
6 | "main": "dist/index.js",
|
7 | "module": "dist/index.es.js",
|
8 | "jsnext:main": "dist/index.es.js",
|
9 | "typings": "dist/src/index.d.ts",
|
10 | "repository": "yahtnif/suni",
|
11 | "homepage": "https://github.com/yahtnif/suni",
|
12 | "license": "996ICU",
|
13 | "keywords": [
|
14 | "arr",
|
15 | "hash",
|
16 | "is",
|
17 | "obj",
|
18 | "str",
|
19 | "random",
|
20 | "wrandom",
|
21 | "suni"
|
22 | ],
|
23 | "scripts": {
|
24 | "build": "rollup --c",
|
25 | "pass": "jest && rollup --c && size-limit",
|
26 | "test": "jest",
|
27 | "version": "rollup --c"
|
28 | },
|
29 | "lint-staged": {
|
30 | "{src|__tests__}/**/*.{js,ts}": [
|
31 | "prettier --write",
|
32 | "git add"
|
33 | ]
|
34 | },
|
35 | "husky": {
|
36 | "hooks": {
|
37 | "pre-commit": "lint-staged && jest",
|
38 | "pre-push": "jest && rollup --c && size-limit"
|
39 | }
|
40 | },
|
41 | "size-limit": [
|
42 | {
|
43 | "limit": "5 KB",
|
44 | "path": "dist/index.js"
|
45 | }
|
46 | ],
|
47 | "prettier": {
|
48 | "semi": false,
|
49 | "singleQuote": true
|
50 | },
|
51 | "engines": {
|
52 | "node": ">=8"
|
53 | },
|
54 | "files": [
|
55 | "dist/*.js",
|
56 | "dist/src/*.d.ts"
|
57 | ],
|
58 | "devDependencies": {
|
59 | "@types/jest": "24.0.9",
|
60 | "husky": "^1.3.1",
|
61 | "jest": "^24.1.0",
|
62 | "lint-staged": "^8.1.4",
|
63 | "prettier": "1.16.4",
|
64 | "rollup": "^1.3.2",
|
65 | "rollup-plugin-cleanup": "^3.1.1",
|
66 | "rollup-plugin-clear": "^2.0.7",
|
67 | "rollup-plugin-filesize": "^6.0.1",
|
68 | "rollup-plugin-typescript2": "0.19.3",
|
69 | "size-limit": "^0.21.1",
|
70 | "ts-jest": "24.0.0",
|
71 | "typescript": "3.3.3333"
|
72 | }
|
73 | }
|