-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
71 lines (71 loc) · 1.68 KB
/
package.json
File metadata and controls
71 lines (71 loc) · 1.68 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
59
60
61
62
63
64
65
66
67
68
69
70
71
{
"name": "@xrange/func",
"description": "Functional sequencer of `xrange`, provided as a separate package",
"version": "1.0.5",
"license": "MIT",
"keywords": [
"functional",
"generator",
"iterate",
"iterator",
"python",
"range",
"xrange"
],
"files": [
"/dist",
"!dist/typings/**/*.js",
"!dist/**/*.impl.d.ts",
"/README.md"
],
"main": "dist/index.js",
"types": "dist/index.d.ts",
"jest": {
"verbose": true,
"preset": "ts-jest",
"resetMocks": true,
"rootDir": ".",
"roots": [
"<rootDir>/test"
],
"testMatch": [
"<rootDir>/test/**/*.spec.ts"
],
"collectCoverage": true,
"collectCoverageFrom": [
"<rootDir>/src/**/*.ts"
],
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
},
"coverageDirectory": "<rootDir>/coverage",
"cacheDirectory": "<rootDir>/test/.cache",
"testEnvironment": "node",
"errorOnDeprecated": true
},
"scripts": {
"test": "jest --no-cache",
"start": "node --require ts-node/register src",
"clean": "rimraf dist/*",
"clean:spare": "rimraf dist/typings/**/*.js dist/**/*.impl.d.ts",
"prebuild": "npm run clean",
"build": "tsc --project ./tsconfig.prod.json",
"postbuild": "npm run clean:spare",
"dev": "tsc --project ./tsconfig.json",
"prepublishOnly": "npm run build && npm test && git push --follow-tags"
},
"devDependencies": {
"@types/jest": "27.0.2",
"@types/node": "14.17.29",
"jest": "27.3.1",
"rimraf": "3.0.2",
"ts-jest": "27.0.7",
"ts-node": "10.4.0",
"typescript": "4.4.4"
}
}