ts-raii-scope
Version:
TypeScript RAII proof of concept
47 lines (46 loc) • 1.08 kB
JSON
{
"name": "ts-raii-scope",
"version": "0.1.3",
"description": "TypeScript RAII proof of concept",
"main": "dist/index.js",
"engines": {
"node": ">=8"
},
"repository": {
"type": "git",
"url": "https://github.com/cardinalby/ts-raii-scope"
},
"homepage": "https://github.com/cardinalby/ts-raii-scope",
"keywords": [
"raii",
"scope",
"decorator",
"IDisposable",
"destroy",
"dispose",
"stack",
"ts"
],
"author": "cardinalby",
"license": "MIT",
"files": [
"dist/**/*",
"types/**/*"
],
"devDependencies": {
"prettier": "^1.16.3",
"tslint": "^5.12.1",
"tslint-config-prettier": "^1.17.0",
"typescript": "^3.2.4"
},
"scripts": {
"build": "tsc",
"format": "prettier --write \"src/**/*.ts\" \"types/**/*.d.ts\" \"src/**/*.js\"",
"lint": "tslint -p tsconfig.json",
"prepare": "npm run build",
"prepublishOnly": "npm run lint",
"preversion": "npm run lint",
"version": "npm run format && git add -A src",
"postversion": "git push && git push --tags"
}
}