forked from kallaspriit/normalize-type
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
80 lines (80 loc) · 2.2 KB
/
Copy pathpackage.json
File metadata and controls
80 lines (80 loc) · 2.2 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
72
73
74
75
76
77
78
79
80
{
"name": "normalize-type",
"version": "1.5.1",
"description": "Normalizes string JavaScript values to have real type (so \"123\" becomes number 123 etc).",
"main": "build/index.js",
"types": "build/index.d.ts",
"scripts": {
"start": "yarn test-watch",
"build": "yarn tidy && tsc",
"lint": "tslint --project tsconfig.json --format codeFrame",
"lint-fix": "tslint --project tsconfig.json src/**/*.ts --fix",
"test": "jest --verbose",
"test-watch": "jest --watch --collectCoverage",
"tidy": "yarn tidy:build && yarn tidy:coverage",
"tidy:build": "rimraf build",
"tidy:coverage": "rimraf coverage",
"coverage": "yarn tidy:coverage && jest --collectCoverage",
"prettier": "prettier --print-width 120 --write src/**/*.ts",
"coveralls": "cat ./coverage/lcov.info | coveralls",
"precommit": "yarn lint && yarn test && yarn prettier && git add -A"
},
"repository": {
"type": "git",
"url": "https://github.com/kallaspriit/normalize-type.git"
},
"keywords": [
"normalize",
"javascript",
"type",
"types",
"real",
"number",
"boolean"
],
"author": "Priit Kallas <kallaspriit@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/kallaspriit/normalize-type/issues"
},
"homepage": "https://github.com/kallaspriit/normalize-type#readme",
"dependencies": {
"coveralls": "^3.0.3",
"tslint-config-strict": "^1.3.1"
},
"devDependencies": {
"@types/jest": "^20.0.8",
"husky": "^0.14.3",
"jest": "^20.0.4",
"prettier": "^1.6.1",
"rimraf": "^2.6.1",
"ts-jest": "^20.0.14",
"tslint": "^5.7.0",
"tslint-config-prettier": "^1.5.0",
"tslint-eslint-rules": "^4.1.1",
"typescript": "^2.5.2"
},
"jest": {
"transform": {
".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"roots": [
"tests"
],
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"json"
]
},
"config": {
"ghooks": {
"pre-commit": "npm run test:single && npm run check-coverage"
},
"commitizen": {
"path": "node_modules/cz-conventional-changelog"
}
}
}