-
Notifications
You must be signed in to change notification settings - Fork 108
/
package.json
51 lines (51 loc) · 1.6 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{
"name": "js-logger",
"version": "1.6.1",
"license": "MIT",
"description": "Lightweight, unobtrusive, configurable JavaScript logger",
"author": "Jonny Reeves (http://jonnyreeves.co.uk)",
"homepage": "http://github.com/jonnyreeves/js-logger",
"typings": "./src/logger.d.ts",
"repository": {
"type": "git",
"url": "git://github.com/jonnyreeves/js-logger.git"
},
"bugs": {
"url": "http://github.com/jonnyreeves/js-logger/issues"
},
"licenses": [
{
"type": "MIT",
"url": "http://github.com/jonnyreeves/js-logger/blob/master/MIT-LICENSE.txt"
}
],
"files": [
"/src",
"CHANGELOG",
"MIT-LICENSE.txt",
"README"
],
"main": "src/logger.js",
"scripts": {
"lint": "jshint --exclude=src/*.min.js src/*.js test-src/*.js",
"format": "prettier --write .",
"test": "prettier --check . && npm run test:unit && npm run test:tsd",
"test:unit": "node-qunit-phantomjs ./test-src/index.html",
"test:tsd": "ts-node -r tsconfig-paths/register test-src/typescript-consumer/index.ts",
"build": "npm run build:version && npm run build:minify",
"build:minify": "uglifyjs src/logger.js --mangle --compress -o src/logger.min.js",
"build:version": "cross-env replace -s 'VERSION = \"[^\"]+\"' \"VERSION = \\\"$npm_package_version\\\"\" src/logger.js"
},
"devDependencies": {
"cross-env": "^5.2.0",
"jshint": "^2.9.6",
"node-qunit-phantomjs": "^2.0.0",
"prettier": "2.1.2",
"replace": "^1.0.0",
"rimraf": "^2.6.2",
"ts-node": "^7.0.1",
"tsconfig-paths": "^3.7.0",
"typescript": "^3.1.3",
"uglify-js": "^3.4.9"
}
}