UNPKG

jscc

Version:

Tiny and powerful preprocessor for conditional comments and replacement of compile-time variables in text files

74 lines (73 loc) 1.86 kB
{ "name": "jscc", "version": "1.1.1", "description": "Tiny and powerful preprocessor for conditional comments and replacement of compile-time variables in text files", "main": "dist/jscc.js", "source": "src/jscc.ts", "types": "index.d.ts", "license": "MIT", "engines": { "node": ">=6.0" }, "files": [ "index.d.ts", "dist", "src" ], "scripts": { "build": "rimraf ./dist/** && yarn lint && tsc", "lint": "tslint *.ts && tslint -p . && tslint -p test", "prepublishOnly": "yarn build && mocha test/*.spec.ts", "prestart": "yarn pretest", "start": "mocha --watch test/*.spec.ts", "pretest": "yarn lint && tsc", "test": "nyc mocha test/*.spec.ts", "clean": "rimraf ./coverage ./dist/**", "coverage": "nyc report -r=lcov", "tsc": "tsc" }, "keywords": [ "html", "parser", "javascript", "typescript", "es6", "conditional", "comments", "compilation", "preprocessor", "replacement", "jspreproc" ], "author": { "name": "aMarCruz", "email": "amarcruzbox-git@yahoo.com", "url": "https://github.com/aMarCruz" }, "homepage": "https://github.com/aMarCruz/jscc", "bugs": "https://github.com/aMarCruz/jscc/issues", "repository": { "type": "git", "url": "https://github.com/aMarCruz/jscc" }, "dependencies": { "@jsbits/escape-regex-str": "^1.0.2", "@jsbits/get-package-version": "^1.0.2", "magic-string": "^0.25.1", "perf-regexes": "^1.0.1", "skip-regex": "^1.0.2" }, "devDependencies": { "@types/expect.js": "^0.3.29", "@types/mocha": "^5.2.5", "@types/node": "^10.12.18", "expect.js": "^0.3.1", "mocha": "^5.2.0", "nyc": "^13.1.0", "rimraf": "^2.6.2", "ts-node": "^7.0.1", "tslib": "^1.9.3", "tslint": "^5.12.0", "typescript": "^3.2.2" } }