-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
74 lines (74 loc) · 2.09 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
{
"name": "json-viewer",
"version": "2.2.0",
"description": "Pretty JSON viewer for the terminal",
"main": "lib/index.js",
"scripts": {
"start": "npm run build && node ./lib",
"start:bin": "node ./bin/json-cli",
"build": "cross-env BABEL_ENV=prod npm run transpile && npm run compress",
"transpile": "babel src --out-dir lib",
"compress": "uglifyjs lib/json-viewer.js -m -c -o lib/json-viewer.js",
"lint": "eslint --ext .js --ignore-path .gitignore .",
"lint:fix": "npm run lint -- --fix",
"test": "cross-env BABEL_ENV=test npm run test:unit",
"test:watch": "cross-env BABEL_ENV=test npm run test:unit -- -w -R dot",
"test:unit": "mocha --compilers js:babel-core/register 'test/**/*.spec.js' --require babel-polyfill",
"test:live": "npm run test && npm run build && npm pack && npm install -g json-viewer-*.tgz",
"coverage": "cross-env BABEL_ENV=test nyc --reporter=lcov npm run test:unit",
"coverage:html": "cross-env BABEL_ENV=test nyc --reporter=html npm run test:unit"
},
"keywords": [
"json",
"cli",
"viewer",
"reader",
"cat"
],
"files": [
"lib",
"bin"
],
"author": "mjurczyk",
"license": "MIT",
"bin": {
"json": "./bin/json-cli"
},
"repository": {
"type": "git",
"url": "https://github.com/mjurczyk/json-viewer"
},
"dependencies": {
"colors": "1.1.2",
"fs-jetpack": "1.2.0",
"ramda": "0.25.0",
"yargs": "9.0.1",
"babel-polyfill": "6.26.0"
},
"devDependencies": {
"babel": "6.5.2",
"babel-cli": "^6.26.0",
"babel-eslint": "8.0.1",
"babel-plugin-istanbul": "4.1.5",
"babel-plugin-module-resolver": "2.7.1",
"babel-plugin-rewire": "1.1.0",
"babel-preset-es2015": "6.6.0",
"babel-preset-stage-0": "6.24.1",
"babelify": "7.2.0",
"chai": "4.1.2",
"cross-env": "5.1.0",
"eslint": "4.8.0",
"mocha": "4.0.0",
"nyc": "11.2.1",
"sinon": "4.0.1",
"sinon-chai": "2.14.0",
"uglify-js": "3.1.4"
},
"nyc": {
"require": [
"./test/helpers/babel-polyfill.js"
],
"sourceMap": false,
"instrument": false
}
}