mirror of
https://github.com/zhigang1992/ts-optchain.git
synced 2026-01-12 17:52:56 +08:00
49 lines
1023 B
JSON
49 lines
1023 B
JSON
{
|
|
"name": "ts-optchain",
|
|
"version": "0.1.1",
|
|
"description": "Optional Chaining for TypeScript",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/rimeto/ts-optchain.git"
|
|
},
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"prepublishOnly": "npm run build",
|
|
"test": "jest"
|
|
},
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"@types/jest": "^23.3.1",
|
|
"jest": "^23.4.2",
|
|
"ts-jest": "^23.1.2",
|
|
"typescript": "^2.9.2"
|
|
},
|
|
"jest": {
|
|
"moduleFileExtensions": [
|
|
"ts",
|
|
"tsx",
|
|
"js",
|
|
"json"
|
|
],
|
|
"rootDir": "./src",
|
|
"testEnvironment": "node",
|
|
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
|
|
"transform": {
|
|
".(ts|tsx)": "ts-jest"
|
|
}
|
|
},
|
|
"keywords": [
|
|
"existential operator",
|
|
"null conditional operator",
|
|
"null propagation operator",
|
|
"optional chaining",
|
|
"safe navigation operator",
|
|
"typescript"
|
|
],
|
|
"engines": {
|
|
"node": ">=6"
|
|
}
|
|
}
|