forked from bitrinjani/castable
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
50 lines (50 loc) · 1.35 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
{
"name": "@bitr/castable",
"version": "1.0.3",
"description": "Castable library sanitizes dirty external data by casting all properties at run-time to the types specified at compile time.",
"main": "dist/castable.js",
"types" : "dist/castable.d.ts",
"scripts": {
"prebuild": "rimraf dist",
"build": "tsc",
"prepublishOnly": "npm run build",
"test": "jest --coverage --runInBand && cat ./coverage/lcov.info | coveralls",
"jest": "jest --runInBand",
"cov": "jest --coverage --runInBand"
},
"keywords": ["cast", "castable", "typescript", "decorator"],
"repository": "https://github.com/bitrinjani/castable",
"author": "bitrinjani <[email protected]>",
"license": "MIT",
"dependencies": {
"reflect-metadata": "^0.1.10"
},
"devDependencies": {
"@types/jest": "^21.1.4",
"@types/node": "^8.0.46",
"jest": "^22.0.3",
"ts-jest": "^22.0.0",
"typescript": "^2.5.3",
"coveralls": "^3.0.0"
},
"jest": {
"transform": {
"^.+\\.tsx?$": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"testRegex": "/__tests__/.*\\.(jsx?|tsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json"
],
"mapCoverage": true,
"collectCoverageFrom": [
"**/*.{ts,tsx}",
"!**/__tests__/**",
"!**/node_modules/**",
"!**/*.d.ts"
]
}
}