UNPKG

1 kBJSONView Raw
1{
2 "name": "chunkd",
3 "version": "2.0.1",
4 "description": "Get a chunk of an array based on the total number of chunks and current index",
5 "main": "dist/chunkd.js",
6 "repository": "jamiebuilds/chunkd",
7 "author": "Jamie Kyle <me@thejameskyle.com>",
8 "license": "MIT",
9 "keywords": [
10 "util",
11 "chunk",
12 "index",
13 "total"
14 ],
15 "files": [
16 "dist"
17 ],
18 "scripts": {
19 "check:typescript": "tsc --noEmit",
20 "check:prettier": "prettier --check '**'",
21 "build": "rm -rf dist && tsc",
22 "format": "prettier --write '**'",
23 "test": "ava",
24 "prepublishOnly": "npm run -s build"
25 },
26 "devDependencies": {
27 "ava": "^2.4.0",
28 "husky": "^3.1.0",
29 "lint-staged": "^9.4.3",
30 "prettier": "^1.19.1",
31 "ts-node": "^8.5.2",
32 "typescript": "^3.7.2"
33 },
34 "husky": {
35 "hooks": {
36 "pre-commit": "lint-staged"
37 }
38 },
39 "lint-staged": {
40 "*": [
41 "prettier --write",
42 "git add"
43 ]
44 },
45 "ava": {
46 "compileEnhancements": false,
47 "extensions": [
48 "ts"
49 ],
50 "require": [
51 "ts-node/register"
52 ]
53 }
54}