UNPKG

ts-transformer-preval-macro

Version:
78 lines (77 loc) 2.05 kB
{ "name": "ts-transformer-preval-macro", "version": "0.0.5", "description": "Pre-evaluate code at build-time", "main": "dist/index.js", "typings": "dist/index.d.ts", "scripts": { "prepare": "run-s build", "build": "tsc", "test": "run-s test:*", "test:lint": "tslint -c ./tslint.json './src/*.(ts|tsx)'", "test:format": "prettier --ignore-path=./.prettierignore --config=./.prettierrc --list-different '{.,./src,.github/**}/*.{ts,tsx,md,json}'", "fix": "run-s fix:*", "fix:lint": "tslint -c ./tslint.json './src/*.(ts|tsx)' --fix", "fix:format": "prettier --ignore-path=./.prettierignore --config=./.prettierrc --write '{.,./src,.github/**}/*.{ts,tsx,md,json}'", "publish": "run-s test" }, "keywords": [ "typescript", "transform", "inline-eval", "pre-evaluate", "preval" ], "bugs": { "url": "https://github.com/ahoendgen/ts-transformer-preval/issues" }, "homepage": "https://github.com/ahoendgen/ts-transformer-preval", "repository": "https://github.com/ahoendgen/ts-transformer-preval.git", "author": { "name": "André Hoendgen", "url": "https://andre-hoendgen.de" }, "license": "MIT", "devDependencies": { "@types/find-cache-dir": "^2.0.0", "@types/fs-extra": "^5.0.5", "@types/node": "^8.10.45", "@types/rimraf": "^2.0.2", "fs-extra": "^7.0.1", "husky": "^1.3.1", "lint-staged": "^8.1.5", "npm-run-all": "^4.1.5", "prettier": "^1.16.4", "tslint": "^5.14.0", "tslint-config-prettier": "^1.18.0", "typescript": "^3.3.4000" }, "dependencies": { "find-cache-dir": "^2.1.0", "rimraf": "^2.6.3" }, "peerDependencies": { "typescript": "^3.0" }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "lint-staged": { "linters": { "./src/**.{ts,tsx}": [ "prettier --write", "tslint --fix", "git add" ], "*.md": [ "prettier --write", "git add" ] }, "ignore": [ "**/dist/*" ] } }