UNPKG

2.34 kBJSONView Raw
1{
2 "name": "array-flatten",
3 "version": "3.0.0",
4 "description": "Flatten nested arrays",
5 "main": "dist/index.js",
6 "typings": "dist/index.d.ts",
7 "module": "dist.es2015/index.js",
8 "sideEffects": false,
9 "jsnext:main": "dist.es2015/index.js",
10 "files": [
11 "dist/",
12 "dist.es2015/",
13 "LICENSE"
14 ],
15 "scripts": {
16 "prettier": "prettier --write",
17 "lint": "tslint \"src/**/*\" --project tsconfig.json",
18 "format": "npm run prettier -- \"{.,src/**,benchmark/**}/*.{js,ts}\"",
19 "build": "rimraf dist/ dist.es2015/ && tsc && tsc -P tsconfig.es2015.json",
20 "benchmark": "node benchmark",
21 "specs": "jest --coverage",
22 "test": "npm run build && npm run lint && npm run specs && npm run size",
23 "size": "size-limit",
24 "prepare": "npm run build"
25 },
26 "repository": {
27 "type": "git",
28 "url": "git://github.com/blakeembrey/array-flatten.git"
29 },
30 "keywords": [
31 "array",
32 "flatten",
33 "arguments",
34 "depth",
35 "fast",
36 "for"
37 ],
38 "author": {
39 "name": "Blake Embrey",
40 "email": "hello@blakeembrey.com",
41 "url": "http://blakeembrey.me"
42 },
43 "license": "MIT",
44 "bugs": {
45 "url": "https://github.com/blakeembrey/array-flatten/issues"
46 },
47 "homepage": "https://github.com/blakeembrey/array-flatten",
48 "size-limit": [
49 {
50 "path": "dist/index.js",
51 "limit": "100 B"
52 }
53 ],
54 "jest": {
55 "roots": [
56 "<rootDir>/src/"
57 ],
58 "transform": {
59 "\\.tsx?$": "ts-jest"
60 },
61 "testRegex": "(/__tests__/.*|\\.(test|spec))\\.(tsx?|jsx?)$",
62 "moduleFileExtensions": [
63 "ts",
64 "tsx",
65 "js",
66 "jsx",
67 "json",
68 "node"
69 ]
70 },
71 "husky": {
72 "hooks": {
73 "pre-commit": "lint-staged"
74 }
75 },
76 "lint-staged": {
77 "*.{js,json,css,md}": [
78 "npm run prettier",
79 "git add"
80 ]
81 },
82 "publishConfig": {
83 "access": "public"
84 },
85 "devDependencies": {
86 "@size-limit/preset-small-lib": "^2.2.1",
87 "@types/jest": "^24.0.23",
88 "@types/node": "^12.12.11",
89 "benchmarked": "^2.0.0",
90 "husky": "^3.1.0",
91 "jest": "^24.9.0",
92 "lint-staged": "^9.4.3",
93 "prettier": "^1.19.1",
94 "ts-expect": "^1.1.0",
95 "ts-jest": "^24.1.0",
96 "tslint": "^5.20.1",
97 "tslint-config-prettier": "^1.18.0",
98 "tslint-config-standard": "^9.0.0",
99 "typescript": "^3.7.2"
100 }
101}