-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
77 lines (77 loc) · 2.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
76
77
{
"name": "exenv-es6",
"sideEffects": false,
"description": "React's ExecutionEnvironment module recreated as ES6 functions",
"keywords": [
"typescript",
"es6",
"react",
"browser",
"server",
"exenv",
"environment",
"env",
"execution",
"executionenvironment"
],
"author": {
"name": "Chris Holt"
},
"version": "1.1.1",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/chrisdholt/exenv-es6.git"
},
"type": "module",
"readme": "README.md",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"homepage": "https://github.com/chrisdholt/exenv-es6#readme",
"scripts": {
"clean:dist": "node ./build/clean.cjs dist",
"prepare": "npm run clean:dist && tsc -p ./tsconfig.json",
"test": "npm run tslint && npm run unit-tests",
"tslint": "tslint -c ./tslint.json '**/*.ts'",
"tslint:fix": "tslint -c ./tslint.json --fix '**/*.ts'",
"unit-tests": "jest",
"unit-tests:watch": "jest --watch"
},
"jest": {
"collectCoverage": true,
"coverageThreshold": {
"global": {
"branches": 88,
"functions": 88,
"lines": 88,
"statements": 88
}
},
"transform": {
"^.+\\.ts?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(js|ts?)$",
"extensionsToTreatAsEsm": [".ts"],
"globals": {
"ts-jest": {
"useESM": true
}
},
"moduleNameMapper": {
"^(\\.{1,2}/.*)\\.js$": "$1"
},
"moduleFileExtensions": [
"js",
"ts"
]
},
"devDependencies": {
"@types/jest": "^27.0.0",
"jest": "^27.0.0",
"rimraf": "^3.0.0",
"ts-jest": "^27.0.0",
"tslint": "^5.9.1",
"typescript": "^4.6.3",
"yargs": "^17.0.0"
}
}