83 lines
2.2 KiB
JSON
83 lines
2.2 KiB
JSON
{
|
|
"name": "brolog",
|
|
"version": "1.14.2",
|
|
"description": "Npmlog like logger for Browser",
|
|
"type": "module",
|
|
"exports": {
|
|
".": {
|
|
"import": "./dist/esm/src/mod.js",
|
|
"require": "./dist/cjs/src/mod.js"
|
|
}
|
|
},
|
|
"typings": "./dist/esm/src/mod.d.ts",
|
|
"engines": {
|
|
"node": ">=16",
|
|
"npm": ">=7"
|
|
},
|
|
"scripts": {
|
|
"build": "tsc && tsc -p tsconfig.cjs.json",
|
|
"clean": "shx rm -fr dist/*",
|
|
"dist": "npm-run-all clean build dist:commonjs",
|
|
"dist:commonjs": "jq -n \"{ type: \\\"commonjs\\\" }\" > dist/cjs/package.json",
|
|
"lint": "npm-run-all lint:es lint:ts",
|
|
"lint:ts": "tsc --isolatedModules --noEmit",
|
|
"test": "npm-run-all lint dist test:unit test:e2e",
|
|
"test:e2e": "bash -x tests/protractor.sh",
|
|
"test:pack": "bash -x scripts/npm-pack-testing.sh",
|
|
"test:unit": "cross-env NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm\" tap -R tap \"src/**/*.spec.ts\"",
|
|
"lint:es": "eslint --ignore-pattern tests/fixtures/ '{bin,examples,scripts,src,tests}/**/*.ts'"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/huan/brolog.git"
|
|
},
|
|
"keywords": [
|
|
"npmlog",
|
|
"log",
|
|
"logger",
|
|
"console.log",
|
|
"browser",
|
|
"angular"
|
|
],
|
|
"author": "Huan LI <zixia@zixia.net>",
|
|
"license": "Apache-2.0",
|
|
"bugs": {
|
|
"url": "https://github.com/huan/brolog/issues"
|
|
},
|
|
"homepage": "https://github.com/huan/brolog#readme",
|
|
"dependencies": {
|
|
"@pipeletteio/nop": "^1.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@chatie/eslint-config": "^1.0.2",
|
|
"@chatie/git-scripts": "^0.6.2",
|
|
"@chatie/semver": "^0.4.7",
|
|
"@chatie/tsconfig": "^1.0.2",
|
|
"@types/chokidar": "^2.1.3",
|
|
"@types/jasmine": "^3.10.1",
|
|
"@types/puppeteer": "^5.4.4",
|
|
"@types/rollup-plugin-json": "^3.0.3",
|
|
"chokidar": "^3.5.2",
|
|
"jasmine-spec-reporter": "^7.0.0",
|
|
"magic-string": "^0.25.7",
|
|
"pkg-jq": "^0.2.11",
|
|
"protractor": "^7.0.0",
|
|
"puppeteer": "^10.4.0",
|
|
"rollup": "^2.58.3",
|
|
"rollup-plugin-json": "^4.0.0",
|
|
"source-map": "^0.7.3",
|
|
"tap": "^15.0.10",
|
|
"tslint": "^6.1.2",
|
|
"tstest": "^1.0.1"
|
|
},
|
|
"files": [
|
|
"src/",
|
|
"dist/"
|
|
],
|
|
"git": {
|
|
"scripts": {
|
|
"pre-push": "npx git-scripts-pre-push"
|
|
}
|
|
}
|
|
}
|