forked from piotrwitek/typesafe-actions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
75 lines (75 loc) · 3.04 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
{
"name": "typesafe-actions",
"version": "5.1.0",
"description": "Typesafe Action Creators for Redux / Flux Architectures (in TypeScript)",
"author": "Piotr Witek <piotrek.witek@gmail.com> (http://piotrwitek.github.io)",
"repository": "https://github.com/piotrwitek/typesafe-actions",
"homepage": "https://github.com/piotrwitek/typesafe-actions",
"license": "MIT",
"types": "dist/index.d.ts",
"main": "index.js",
"module": "dist/typesafe-actions.es.production.js",
"browser": "dist/typesafe-actions.umd.production.js",
"engines": {
"node": ">= 4"
},
"husky": {
"hooks": {
"pre-push": "npm run prettier:fix && npm run lint && npm run tsc && npm run test:update && npm run doctoc"
}
},
"scripts": {
"ci-check": "npm run prettier && npm run lint && npm run tsc && npm run test",
"reinstall": "rm -rf node_modules/ dist/ && npm install",
"prettier": "prettier --list-different 'src/**/*.ts' || (echo '\nPlease fix code formatting by running:\nnpm run prettier:fix\n'; exit 1)",
"prettier:fix": "prettier --write 'src/**/*.ts'",
"lint": "tslint --project './tsconfig.json'",
"tsc": "tsc -p ./tsconfig.build.json --noEmit",
"tsc:watch": "tsc -p ./tsconfig.build.json --noEmit -w",
"test": "jest --config jest.config.json && dts-jest-remap ./src/*.spec.ts --rename {{basename}}.snap.{{extname}} --check",
"test:update": "jest --config jest.config.json --no-cache -u && dts-jest-remap ./src/*.spec.ts --rename {{basename}}.snap.{{extname}}",
"test:watch": "jest --config jest.config.json --watch",
"doctoc": "doctoc --maxlevel=4 README.md",
"prebuild": "rm -rf dist/ .size-snapshot.json && tsc -p ./tsconfig.declaration.json",
"build": "tsc -p ./tsconfig.build.json && rollup -c",
"postbuild": "rm -rf out",
"prepublishOnly": "npm run reinstall && npm run ci-check && npm run build",
"benchmark:10": "node --max-old-space-size=8000 ./node_modules/.bin/tsc --diagnostics --outDir out benchmarks/10-actions.ts && rm -rf out",
"benchmark:150": "node --max-old-space-size=8000 ./node_modules/.bin/tsc --diagnostics --outDir out benchmarks/150-actions.ts && rm -rf out"
},
"devDependencies": {
"@babel/core": "7.7.2",
"@babel/preset-env": "7.7.1",
"@types/jest": "24.0.22",
"babel-plugin-annotate-pure-calls": "0.4.0",
"babel-plugin-dev-expression": "0.2.2",
"core-js": "3.4.0",
"doctoc": "1.4.0",
"dts-jest": "23.0.0",
"husky": "3.0.9",
"jest": "24.9.0",
"prettier": "1.18.2",
"rollup": "1.26.3",
"rollup-plugin-babel": "4.3.3",
"rollup-plugin-commonjs": "10.1.0",
"rollup-plugin-json": "4.0.0",
"rollup-plugin-node-resolve": "5.2.0",
"rollup-plugin-replace": "2.2.0",
"rollup-plugin-size-snapshot": "0.10.0",
"rollup-plugin-sourcemaps": "0.4.2",
"rollup-plugin-terser": "5.1.2",
"ts-jest": "24.1.0",
"tslint": "5.20.1",
"typescript": "3.7.2"
},
"keywords": [
"typescript",
"typesafe",
"actions",
"action-creator",
"redux",
"flux",
"redux-actions",
"static-typing"
]
}