forked from just-jeb/jest-marbles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
117 lines (117 loc) · 3.85 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
117
{
"name": "jest-marbles",
"version": "3.0.1",
"description": "Marble testing helpers library for RxJs and Jest",
"main": "umd/jest-marbles.js",
"module": "lib/index.js",
"es2015": "lib-esm/index.js",
"typings": "typings/index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/meltedspark/jest-marbles"
},
"author": "Evgeny Barabanov",
"license": "MIT",
"engines": {
"node": ">=6.11.5"
},
"keywords": [
"jest",
"marbles",
"marble",
"testing",
"test",
"rxjs",
"observable"
],
"scripts": {
"e2e": "jest --config=e2e/jest-browser.config.js && jest --config=e2e/jest-node.config.js",
"cleanup": "shx rm -rf umd lib lib-esm lib-fesm typings coverage docs",
"prebuild": "npm run cleanup && npm run verify",
"postbuild": "npm run e2e",
"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:lint": "tslint --project tsconfig.json --format codeFrame",
"ts:lint:fix": "npm run ts:lint -- --fix",
"ts:format:base": "npm run prettier:ts -- {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 && npm run ts:lint",
"ts:style:fix": "npm run ts:format:fix && npm run ts:lint:fix",
"verify": "npm run ts:style && npm test",
"cz": "git-cz",
"prettier:ts": "prettier --single-quote --print-width 120 --trailing-comma es5 --parser typescript",
"prerelease": "npm run build",
"release": "standard-version --sign",
"postrelease": "npm run release:github && npm run release:npm",
"release:github": "git push --follow-tags origin master",
"release:npm": "npm publish",
"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
}
},
"lint-staged": {
"src/**/*.{ts,tsx}": [
"npm run prettier:ts -- --write",
"npm run ts:lint:fix",
"git add"
]
},
"jest": {
"preset": "ts-jest",
"testRegex": "/spec/.*\\.(ts|tsx|js)$"
},
"dependencies": {
"jest-diff": "24.9.0",
"jest-matcher-utils": "26.6.2"
},
"devDependencies": {
"@types/jest": "^26.0.0",
"@types/node": "^12.6.8",
"awesome-typescript-loader": "^5.2.1",
"commitizen": "^4.0.2",
"cross-var": "^1.1.0",
"cz-conventional-changelog": "^3.0.2",
"gzip-size-cli": "^4.0.0",
"husky": "^4.0.0",
"jest": "27.2.3",
"lint-staged": "^10.0.0",
"prettier": "^1.16.4",
"rxjs": "^7.0.0",
"shx": "^0.3.2",
"standard-version": "^9.0.0",
"strip-json-comments-cli": "^1.0.1",
"ts-jest": "27.0.5",
"tslint": "^6.0.0",
"tslint-config-prettier": "^1.18.0",
"tslint-config-standard": "^9.0.0",
"typescript": "4.2.4",
"validate-commit-msg": "^2.14.0",
"webpack": "^4.29.6",
"webpack-cli": "^3.3.0",
"webpack-config-utils": "^2.3.1"
},
"peerDependencies": {
"rxjs": "^7.0.0"
},
"husky": {
"hooks": {
"commit-msg": "validate-commit-msg",
"pre-commit": "lint-staged",
"pre-push": "npm run ts:style && npm run test:only-changed"
}
}
}