-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
116 lines (116 loc) · 3.69 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
{
"name": "redux-guards",
"version": "0.0.5",
"description": "Type Guards for Redux",
"main": "umd/redux-guards.js",
"module": "lib/index.js",
"es2015": "lib-esm/index.js",
"typings": "typings/index.d.ts",
"repository": {
"type": "git",
"url": "https://www.github.com/quicksnap/redux-guards"
},
"author": "Dan Schuman",
"license": "MIT",
"engines": {
"node": ">=6.9"
},
"scripts": {
"cleanup": "shx rm -rf umd lib lib-esm lib-fesm typings coverage docs",
"prebuild": "npm run cleanup && npm run verify",
"build": " tsc && tsc --target es2017 --outDir lib-esm && webpack && webpack --env.prod",
"build:fesm:min": "uglifyjs lib-fesm/index.js --compress --mangle --source-map --output lib-fesm/index.min.js",
"docs": "typedoc -p . --theme minimal --target 'es6' --excludeNotExported --excludePrivate --ignoreCompilerErrors --exclude \"**/src/**/__tests__/*.*\" --out docs src/",
"test": "jest",
"test:watch": "npm test -- --watch",
"test:coverage": "npm test -- --coverage",
"test:only-changed": "npm test -- --bail --onlyChanged",
"ts:format:base": "yarn run prettier {src,__{tests,mocks}__}/**/*.{ts,tsx}",
"ts:format": "npm run ts:format:base -- --list-different",
"ts:format:fix": "npm run ts:format:base -- --write",
"ts:style": "npm run ts:format",
"ts:style:fix": "npm run ts:format:fix",
"verify": "npm run ts:style && npm test",
"cz": "git-cz",
"commitmsg": "validate-commit-msg",
"prerelease": "npm run build",
"release": "standard-version",
"postrelease": "npm run release:github && npm run release:npm",
"release:github": "git push --no-verify --follow-tags origin master",
"release:npm": "npm publish",
"release:preflight": "irish-pub",
"release:preflight:package": "npm pack",
"size": "shx echo \"Gzipped Size:\" && cross-var strip-json-comments --no-whitespace $npm_package_main | gzip-size"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
},
"validate-commit-msg": {
"types": "conventional-commit-types",
"maxSubjectLength": 120
}
},
"jest": {
"roots": [
"<rootDir>/src"
],
"transform": {
"^.+\\.tsx?$": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"mapCoverage": true,
"coveragePathIgnorePatterns": [
"<rootDir>/node_modules/",
"<rootDir>/lib/",
"<rootDir>/lib-esm/",
"<rootDir>/umd/",
"<rootDir>/src/.*(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$"
],
"coverageThreshold": {
"global": {
"branches": 80,
"functions": 80,
"lines": 80,
"statements": 85
}
}
},
"dependencies": {
"redux": "3.7.2",
"redux-pack": "0.1.5"
},
"devDependencies": {
"@types/jest": "20.0.2",
"@types/node": "7.0.31",
"awesome-typescript-loader": "3.2.1",
"commitizen": "2.9.6",
"cross-var": "1.0.3",
"cz-conventional-changelog": "2.0.0",
"gzip-size-cli": "2.0.0",
"husky": "0.14.1",
"irish-pub": "0.2.0",
"jest": "20.0.4",
"lint-staged": "4.0.0",
"prettier": "1.9",
"shx": "0.2.2",
"standard-version": "4.2.0",
"strip-json-comments-cli": "1.0.1",
"ts-jest": "20.0.6",
"tslint": "5.4.3",
"tslint-config-standard": "6.0.1",
"tslint-react": "3.0.0",
"typedoc": "0.7.1",
"typescript": "2.4.1",
"uglify-js": "git://github.com/mishoo/UglifyJS2#harmony-v2.8.22",
"uglifyjs-webpack-plugin": "0.4.5",
"validate-commit-msg": "2.12.2",
"webpack": "3.0.0",
"webpack-config-utils": "2.3.0"
}
}