-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
77 lines (77 loc) · 2.27 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
{
"name": "transducist",
"version": "2.2.0",
"description": "Ergonomic JavaScript/TypeScript transducers for beginners and experts.",
"module": "dist/esm/index.js",
"main": "dist/cjs/index.js",
"types": "dist/esm/index.d.ts",
"files": [
"dist/"
],
"sideEffects": false,
"repository": {
"type": "git",
"url": "git://github.com/dphilipson/transducist.git"
},
"keywords": [
"transducers",
"typescript",
"functional",
"iterators",
"lazy",
"chain"
],
"homepage": "https://github.com/dphilipson/transducist",
"bugs": {
"url": "https://github.com/dphilipson/transducist/issues",
"email": "[email protected]"
},
"author": "David Philipson <[email protected]> (http://dphil.me)",
"license": "MIT",
"scripts": {
"build": "yarn run clean && tsc -p tsconfig.build-esm.json && tsc -p tsconfig.build-cjs.json && ./scripts/mark-classes-pure.sh",
"clean": "rm -rf dist/*",
"format-file": "prettier --write",
"format": "prettier --write \"**/*.{js,jsx,json,md}\"",
"generate-toc": "git ls-files | egrep '\\.md$' | xargs scripts/markdown-toc-all.sh",
"jest": "jest",
"lint-file": "tslint",
"lint": "tslint --project .",
"prepublishOnly": "yarn run test && yarn run build",
"test": "yarn run lint && tsc && yarn run jest"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"**/*.{js,json}": [
"yarn run format-file",
"git add"
],
"**/*.ts": [
"yarn run lint-file --fix",
"yarn run format-file",
"git add"
],
"*.md": [
"./scripts/markdown-toc-all.sh",
"yarn run format-file",
"git add"
]
},
"devDependencies": {
"@types/jest": "^24.0.23",
"husky": "^3.1.0",
"jest": "^24.9.0",
"lint-staged": "^9.5.0",
"markdown-toc": "^1.2.0",
"prettier": "^1.19.1",
"ts-jest": "^24.2.0",
"tslint": "^5.20.1",
"tslint-config-prettier": "^1.18.0",
"typescript": "^3.7.3"
},
"dependencies": {}
}