UNPKG

typescript-nullsafe

Version:
58 lines (57 loc) 1.46 kB
{ "name": "typescript-nullsafe", "version": "1.0.2", "description": "Nullable functions", "scripts": { "test": "jest", "build": "npm run validate && npm run build:esm && npm run build:cjs", "build:esm": "tsc", "build:cjs": "tsc --module CommonJS --outDir dist/cjs/", "lint": "tslint -p tsconfig.json", "validate": "npm test && npm run lint", "lint:fix": "tslint --fix -p tsconfig.json", "release": "npm run build && npm run release:public", "release:public": "npm publish --access public" }, "author": "Dust in Est", "repository": { "type": "git", "url": "git+https://github.com/dustinest/typescript-async-utils.git" }, "keywords": [ "optional", "maybe", "Nullable", "TypeScript", "nullsafe" ], "license": "MIT", "bugs": { "url": "https://github.com/dustinest/typescript-async-utils/issues" }, "homepage": "https://github.com/dustinest/typescript-async-utils/tree/main/typescript-nullsafe#readme", "devDependencies": { "@types/jest": "^27.5.0", "jest": "^28.0.3", "ts-jest": "^28.0.1", "tslint": "^6.1.3", "typescript": "^4.6.4" }, "jest": { "transform": { "^.+\\.tsx?$": "ts-jest" }, "moduleFileExtensions": [ "ts", "js" ] }, "files": [ "dist/**/*", "src/**/*" ], "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", "sideEffects": false }