-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
60 lines (60 loc) · 1.81 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
{
"name": "@lifeomic/gradual-feature-toggle-tools",
"version": "1.0.0",
"description": "Provides a set of helper functions to make gradual, non-binary, feature toggle use easier",
"repository": {
"type": "git",
"url": "https://github.com/lifeomic/gradual-feature-toggle-tools.git"
},
"author": "Matt Lavin <[email protected]>",
"license": "MIT",
"main": "./work/dist/src/",
"module": "./work/dist/es6/src/",
"jsnext:main": "./work/dist/esnext/src/",
"types": "./work/dist/src/index.d.ts",
"scripts": {
"compile-src-cjs": "tsc --declaration --declarationDir ./work/dist -p tsconfig-src-cjs.json",
"compile-src-es6": "tsc -p tsconfig-src-es6.json",
"compile-src-esnext": "tsc -p tsconfig-src-esnext.json",
"precompile-src": "rm -rf ./work/dist",
"compile-src": "yarn compile-src-cjs && yarn compile-src-es6 && yarn compile-src-esnext",
"lint": "tslint --format codeFrame --project tsconfig.json 'src/**/*.ts' 'test/**/*.ts'",
"pretest": "yarn lint",
"test": "jest",
"prebuild": "yarn test",
"build": "yarn compile-src"
},
"devDependencies": {
"@types/jest": "^24.0.9",
"@types/lodash": "^4.14.119",
"@types/node": "^11.9.5",
"@types/randomstring": "^1.1.6",
"chi-squared-test": "^1.1.0",
"jest": "^24.1.0",
"randomstring": "^1.1.5",
"ts-jest": "^24.0.0",
"tslint": "^5.12.0",
"tslint-config-semistandard": "^8.0.0",
"typescript": "^3.2.2"
},
"dependencies": {
"crypto-hash": "^1.0.0",
"string-hash": "^1.1.3"
},
"jest": {
"preset": "ts-jest",
"collectCoverage": true,
"testPathIgnorePatterns": [
"/node_modules/",
"/work/"
],
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
}
}
}