This repository was archived by the owner on Oct 23, 2025. It is now read-only.
forked from dphilipson/typescript-fsa-reducers
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
58 lines (58 loc) · 2.08 KB
/
package.json
File metadata and controls
58 lines (58 loc) · 2.08 KB
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
{
"name": "typescript-fsa-reducers",
"version": "0.4.4",
"description": "Fluent syntax for defining typesafe Redux reducers on top of typescript-fsa.",
"main": "dist/index.js",
"types": "dist/index",
"files": ["dist/"],
"repository": {
"type": "git",
"url": "git://github.com/dphilipson/typescript-fsa-reducers.git"
},
"keywords": ["redux", "typescript", "action", "reducer", "builder"],
"author": "David Philipson <david.philipson@gmail.com> (http://dphil.me)",
"license": "MIT",
"bugs": {
"url": "https://github.com/dphilipson/typescript-fsa-reducers/issues"
},
"homepage": "https://github.com/dphilipson/typescript-fsa-reducers#readme",
"scripts": {
"build": "yarn run clean && tsc -p tsconfig.build.json",
"clean": "rm -rf dist/*",
"format": "yarn run format-glob -- '**/*.{js,json,ts,tsx}'",
"format-glob": "prettier --tab-width 4 --trailing-comma all --write",
"generate-toc": "markdown-toc -i README.md && true",
"jest": "jest",
"jest-watch": "yarn run jest -- --watch",
"lint": "tslint --project .",
"precommit": "lint-staged",
"prepublish": "yarn run build",
"test": "yarn run lint && tsc && yarn run jest"
},
"devDependencies": {
"@types/jest": "^20.0.2",
"husky": "^0.14.1",
"jest": "^20.0.4",
"lint-staged": "^4.0.0",
"markdown-toc": "^1.1.0",
"prettier": "^1.5.3",
"ts-jest": "^20.0.6",
"tslint": "^5.4.3",
"typescript": "^2.4.1"
},
"dependencies": {
"typescript-fsa": "^2.0.0"
},
"lint-staged": {
"*.{js,json}": ["format-glob", "git add"],
"*.{ts,tsx}": ["format-glob", "yarn run lint -- --fix", "git add"],
"*.md": ["yarn run generate-toc", "git add"]
},
"jest": {
"transform": {
".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": ["ts", "tsx", "js"]
}
}