/
paxarpp
/
utility_types
Обзор
Документация
Войти
/
paxarpp
/
utility_types
Код
Запросы
0
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
package.json
54 строки
2 KB
9SMTM6
WIP: Add type guards (#90)
07 июл 2019, 01:21
07 июл 2019, 01:21
3b146c3
Код
Авторство
О чём код?
{ "name": "utility-types", "version": "3.7.0", "description": "Utility Types Collection for TypeScript", "author": "Piotr Witek <piotrek.witek@gmail.com> (http://piotrwitek.github.io)", "repository": "https://github.com/piotrwitek/utility-types", "homepage": "https://github.com/piotrwitek/utility-types", "license": "MIT", "types": "dist/index.d.ts", "main": "dist/index.js", "engines": { "node": ">= 4" }, "husky": { "hooks": { "pre-push": "npm run prettier:fix && npm run lint && npm run tsc && npm run test:update" } }, "scripts": { "ci-check": "npm run prettier && npm run lint && npm run tsc && npm run test", "reinstall": "rm -rf node_modules/ dist/ && npm install", "prettier": "prettier --list-different 'src/**/*.ts' || (echo '\nPlease fix code formatting by running:\nnpm run prettier:fix\n'; exit 1)", "prettier:fix": "prettier --write src/**/*.ts", "lint": "tslint --project ./tsconfig.json", "tsc": "tsc -p . --noEmit", "tsc:watch": "tsc -p . --noEmit -w", "test": "jest --config jest.config.json && dts-jest-remap ./src/*.spec.ts --rename {{basename}}.snap.{{extname}} --check", "test:update": "jest --config jest.config.json --no-cache -u && dts-jest-remap ./src/*.spec.ts --rename {{basename}}.snap.{{extname}}", "test:watch": "jest --config jest.config.json --watch", "prebuild": "rm -rf dist/", "build": "tsc -p ./tsconfig.build.json --outDir dist/", "prepublishOnly": "npm run reinstall && npm run ci-check && npm run build" }, "dependencies": {}, "devDependencies": { "@types/jest": "21.1.10", "dts-jest": "22.0.4", "husky": "2.2.0", "jest": "21.2.1", "prettier": "1.17.0", "ts-jest": "23.10.5", "tslint": "5.16.0", "typescript": "3.4.5" }, "keywords": [ "typescript", "utility", "types", "static-typing", "mapped-types", "flow", "flow-typed" ] }