@waiting/log
Version:
Lightweight logging for browser
108 lines (107 loc) • 3.09 kB
JSON
{
"name": "@waiting/log",
"author": "waiting",
"version": "1.0.2",
"description": "Lightweight logging for browser",
"keywords": [
"log",
"logger",
"logging",
"browser",
"typescript"
],
"engines": {
"node": ">=8.10.0"
},
"bin": {},
"browser": "./dist/log.esm.js",
"es2015": "./dist/log.esm.js",
"main": "./dist/index.cjs.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"bugs": {
"url": "https://github.com/waitingsong/log/issues"
},
"homepage": "https://github.com/waitingsong/log#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/waitingsong/log.git"
},
"license": "MIT",
"nyc": {
"exclude": [
"**/*.js",
"**/*.test.ts",
"**/*.d.ts",
"test*",
"dist",
"src/bin"
],
"extension": [
".ts",
".tsx"
],
"reporter": [
"text-summary",
"html"
],
"all": true
},
"dependencies": {
"@waiting/shared-core": "^1.7.0",
"rxjs": "^6.4.0"
},
"devDependencies": {
"@types/mocha": "*",
"@types/node": "*",
"@types/node-localstorage": "^1.3.0",
"@types/power-assert": "*",
"@types/rewire": "*",
"@types/rimraf": "*",
"@types/yargs": "*",
"coveralls": "^3.0.0",
"intelli-espower-loader": "^1.0.1",
"istanbul": "^0.4.5",
"mocha": "^5.2.0",
"mocha-lcov-reporter": "^1.3.0",
"node-localstorage": "^1.3.1",
"nyc": "^13.0.1",
"power-assert": ">=1.5",
"rewire": "^4.0.0",
"rimraf": "^2.6.2",
"rollup-plugin-commonjs": "^9.1.0",
"rollup-plugin-node-resolve": "^4.0.0",
"rollup-plugin-terser": "^4.0.2",
"rxrunscript": "^5.2.0",
"source-map-support": "^0.5.6",
"ts-node": "^8.0.1",
"tslint": "^5.12.1",
"tslint-eslint-rules": "^5.4.0",
"yargs": "^12.0.1"
},
"scripts": {
"bp:add": "git remote add bp https://github.com/waitingsong/npm-base",
"bp:sync": "git fetch bp && git pull --no-edit bp master",
"build": "npm run clean && npm run lint && npm run lint:t && npm run tsc && npm run jslint && npm run rp",
"devbuild": "npm run clean && npm run tsc:dev && npm run rp",
"clean": "rm -rf dist/*",
"cov": "nyc mocha",
"cov:coveralls": "nyc mocha && nyc report --reporter=text-lcov | coveralls",
"jslint": "eslint --fix dist/**/*.js",
"link_global": "npm link typescript",
"lint": "tslint --fix -p tsconfig.json -t stylish",
"lint:t": "tslint --fix -p test/tsconfig.json -t stylish",
"prepublishOnly": "npm run build",
"release": "standard-version -r",
"release:first": "standard-version --first-release",
"repo:init": "sh .githooks/init-repo.sh",
"rp": "rollup -c rollup.config.js",
"rp:w": "npm run tsc:w | rollup -wc rollup.config.js",
"test": "mocha --opts test/mocha.opts",
"test:browser": "cd .config && npm run browser && cd ..",
"test:debug": "cd .config && npm run debug && cd ..",
"tsc": "tsc -p tsconfig.json",
"tsc:dev": "tsc -p tsconfig.dev.json",
"tsc:w": "tsc -p tsconfig.json -w"
}
}