-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
64 lines (64 loc) · 2.07 KB
/
package.json
File metadata and controls
64 lines (64 loc) · 2.07 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
{
"name": "normalize-type",
"version": "1.5.2",
"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": "yarn lint --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 **/*.ts",
"coveralls": "cat ./coverage/lcov.info | coveralls",
"validate": "yarn lint && yarn build && yarn prettier && yarn test",
"precommit": "yarn validate && 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",
"devDependencies": {
"@types/jest": "^24.0.11",
"coveralls": "^3.0.3",
"husky": "^1.3.1",
"jest": "^24.7.1",
"prettier": "^1.6.1",
"rimraf": "^2.6.3",
"ts-jest": "^24.0.2",
"tslint": "^5.7.0",
"tslint-config-prettier": "^1.5.0",
"tslint-config-strict": "^1.3.1",
"tslint-eslint-rules": "^5.4.0",
"typescript": "^3.4.4"
},
"jest": {
"transform": {
".(ts|tsx)": "ts-jest"
},
"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"
}
}
}