1 | {
|
2 | "name": "advanced-logger",
|
3 | "version": "2.0.6",
|
4 | "description": "Advanced logger module extendable with plugins. Works in nodejs and browsers",
|
5 | "main": "main-node.js",
|
6 | "browser": "main-browser.js",
|
7 | "unpkg": "dist/browser/advanced-logger.browser.min.js",
|
8 | "typings": "dist/index.d.ts",
|
9 | "publishConfig": {
|
10 | "access": "public"
|
11 | },
|
12 | "scripts": {
|
13 | "build": "webpack --config webpack.config.js --env.modes=prod --env.modes=dev --env.targets=browser --env.targets=node",
|
14 | "build-prod": "webpack --config webpack.config.js --env.modes=prod --env.targets=browser --env.targets=node",
|
15 | "build-prod-browser": "webpack --config webpack.config.js --env.modes=prod --env.targets=browser",
|
16 | "build-prod-node": "webpack --config webpack.config.js --env.modes=prod --env.targets=node",
|
17 | "build-dev": "webpack --config webpack.config.js --env.targets=browser --env.targets=node",
|
18 | "build-dev-browser": "webpack --config webpack.config.js --env.targets=browser",
|
19 | "build-dev-node": "webpack --config webpack.config.js --env.targets=node",
|
20 | "watch-prod-browser": "webpack --config webpack.config.js --env.watch=1 --env.modes=prod --env.targets=browser",
|
21 | "watch-prod-node": "webpack --config webpack.config.js --env.watch=1 --env.modes=prod --env.targets=node",
|
22 | "watch-dev-browser": "webpack --config webpack.config.js --env.watch=1 --env.targets=browser",
|
23 | "watch-dev-node": "webpack --config webpack.config.js --env.watch=1 --env.targets=node",
|
24 | "test": "jest",
|
25 | "test:watch": "npm test -- --watch",
|
26 | "coverage": "npm test -- --coverage --no-cache",
|
27 | "coverage:watch": "npm run coverage -- --watch",
|
28 | "release": "standard-version --commit-all",
|
29 | "bundlesize": "bundlesize"
|
30 | },
|
31 | "repository": {
|
32 | "type": "git",
|
33 | "url": "https://github.com/AlexeyPopovUA/advanced-logger.git"
|
34 | },
|
35 | "keywords": [
|
36 | "logger",
|
37 | "advanced-logger",
|
38 | "logger-plugin",
|
39 | "sumologic",
|
40 | "strategy",
|
41 | "typescript",
|
42 | "library",
|
43 | "webpack",
|
44 | "browserify",
|
45 | "dts-bundle",
|
46 | "package",
|
47 | "tslint",
|
48 | "jest",
|
49 | "tsloader",
|
50 | "ts-loader"
|
51 | ],
|
52 | "author": "Oleksii Popov",
|
53 | "license": "MIT",
|
54 | "bugs": {
|
55 | "url": "https://github.com/AlexeyPopovUA/advanced-logger/issues"
|
56 | },
|
57 | "homepage": "https://github.com/AlexeyPopovUA/advanced-logger#readme",
|
58 | "devDependencies": {
|
59 | "@commitlint/cli": "8.1.0",
|
60 | "@commitlint/config-conventional": "8.1.0",
|
61 | "@types/jest": "24.0.18",
|
62 | "@types/lodash": "4.14.138",
|
63 | "@types/node": "10.12.24",
|
64 | "awesome-typescript-loader": "5.2.1",
|
65 | "bundlesize": "0.18.0",
|
66 | "clean-webpack-plugin": "2.0.2",
|
67 | "copy-webpack-plugin": "5.0.4",
|
68 | "delete-empty": "3.0.0",
|
69 | "husky": "3.0.5",
|
70 | "jest": "24.9.0",
|
71 | "rimraf": "3.0.0",
|
72 | "sinon": "7.4.2",
|
73 | "source-map-loader": "0.2.4",
|
74 | "standard-version": "7.0.0",
|
75 | "ts-jest": "24.1.0",
|
76 | "tslint": "5.20.0",
|
77 | "typescript": "3.6.3",
|
78 | "webpack": "4.40.2",
|
79 | "webpack-bundle-analyzer": "3.5.0",
|
80 | "webpack-cli": "3.3.8",
|
81 | "webpack-node-externals": "1.7.2"
|
82 | },
|
83 | "dependencies": {
|
84 | "fast-safe-stringify": "^2.0.6",
|
85 | "lodash": "^4.17.11",
|
86 | "node-fetch": "^2.5.0",
|
87 | "whatwg-fetch": "^3.0.0"
|
88 | },
|
89 | "jest": {
|
90 | "transform": {
|
91 | ".(ts|tsx)": "ts-jest"
|
92 | },
|
93 | "collectCoverageFrom": [
|
94 | "src/**/*.ts"
|
95 | ],
|
96 | "coveragePathIgnorePatterns": [
|
97 | "/__tests__/",
|
98 | "/node_modules/"
|
99 | ],
|
100 | "testEnvironment": "node",
|
101 | "testRegex": "__tests__/.*\\.spec\\.ts$",
|
102 | "moduleFileExtensions": [
|
103 | "ts",
|
104 | "js",
|
105 | "json"
|
106 | ],
|
107 | "moduleNameMapper": {
|
108 | "fetchFacade$": "node-fetch"
|
109 | }
|
110 | },
|
111 | "standard-version": {
|
112 | "scripts": {
|
113 | "precommit": "node ./build-scripts/version.js && git add ./sonar-project.properties"
|
114 | }
|
115 | },
|
116 | "husky": {
|
117 | "hooks": {
|
118 | "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
|
119 | }
|
120 | },
|
121 | "bundlesize": [
|
122 | {
|
123 | "path": "./dist/browser/advanced-logger.browser.min.js",
|
124 | "maxSize": "30 kB"
|
125 | },
|
126 | {
|
127 | "path": "./dist/browser-debug/advanced-logger.browser.js",
|
128 | "maxSize": "200 kB"
|
129 | },
|
130 | {
|
131 | "path": "./dist/node/advanced-logger.node.min.js",
|
132 | "maxSize": "30 kB"
|
133 | },
|
134 | {
|
135 | "path": "./dist/node-debug/advanced-logger.node.js",
|
136 | "maxSize": "100 kB"
|
137 | }
|
138 | ]
|
139 | }
|