daily-box 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json ADDED
@@ -0,0 +1,145 @@
1
+ {
2
+ "name": "daily-box",
3
+ "description": "A CLI tool for daily information: NBA games, stock prices, novels and more.",
4
+ "license": "MIT",
5
+ "author": "linwei",
6
+ "homepage": "https://github.com/linwei/daily-cli#readme",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/linwei/daily-cli.git"
10
+ },
11
+ "bugs": {
12
+ "url": "https://github.com/linwei/daily-cli/issues"
13
+ },
14
+ "version": "0.4.0",
15
+ "main": "lib/cli.js",
16
+ "bin": {
17
+ "daily-box": "lib/cli.js",
18
+ "daily": "lib/cli.js"
19
+ },
20
+ "files": [
21
+ "lib"
22
+ ],
23
+ "scripts": {
24
+ "build": "NODE_OPTIONS=--openssl-legacy-provider npm run clean && NODE_OPTIONS=--openssl-legacy-provider webpack --config webpack.config.js -p",
25
+ "clean": "rimraf lib packed",
26
+ "dev": "NODE_OPTIONS=--openssl-legacy-provider webpack --config webpack.config.js -d -w",
27
+ "lint": "eslint src",
28
+ "lint:fix": "npm run lint -- --fix",
29
+ "pack": "pkg . --out-path packed",
30
+ "prepublishOnly": "npm run build && echo '#!/usr/bin/env node' | cat - lib/cli.js > temp && mv temp lib/cli.js",
31
+ "test": "npm run lint:fix && npm run testonly:cov",
32
+ "testonly": "NODE_ENV=test jest",
33
+ "testonly:cov": "jest --coverage --runInBand --forceExit --no-cache",
34
+ "testonly:watch": "jest --watch"
35
+ },
36
+ "dependencies": {
37
+ "@babel/register": "^7.0.0",
38
+ "async-to-gen": "^1.4.0",
39
+ "axios": "^1.14.0",
40
+ "blessed": "^0.1.81",
41
+ "cfonts": "^2.4.0",
42
+ "chalk": "^2.4.2",
43
+ "cli-table3": "^0.5.1",
44
+ "commander": "^2.19.0",
45
+ "date-fns": "^1.30.1",
46
+ "delay": "^4.1.0",
47
+ "didyoumean": "^1.2.1",
48
+ "iconv-lite": "^0.6.3",
49
+ "inquirer": "^6.2.1",
50
+ "is-async-supported": "^1.2.0",
51
+ "log-update": "^2.2.0",
52
+ "luxon": "^1.10.0",
53
+ "nba": "^4.5.0",
54
+ "nba-color": "^1.3.9",
55
+ "nba-stats-client": "^1.0.0",
56
+ "node-emoji": "^1.8.1",
57
+ "ora": "^3.0.0",
58
+ "p-map": "^2.0.0",
59
+ "ramda": "^0.26.1",
60
+ "stringz": "^1.0.0",
61
+ "update-notifier": "^2.5.0",
62
+ "wide-align": "^1.1.3",
63
+ "yahoo-finance2": "^3.14.0"
64
+ },
65
+ "devDependencies": {
66
+ "@babel/cli": "^7.2.3",
67
+ "@babel/core": "^7.2.2",
68
+ "@babel/plugin-proposal-class-properties": "^7.2.3",
69
+ "@babel/plugin-proposal-object-rest-spread": "^7.2.0",
70
+ "@babel/plugin-transform-runtime": "^7.2.0",
71
+ "@babel/preset-env": "^7.2.3",
72
+ "@babel/runtime": "^7.2.0",
73
+ "babel-core": "^7.0.0-bridge.0",
74
+ "babel-eslint": "^10.0.1",
75
+ "babel-jest": "^23.6.0",
76
+ "babel-loader": "^8.0.5",
77
+ "copy-webpack-plugin": "^4.6.0",
78
+ "eslint": "^5.12.0",
79
+ "eslint-config-airbnb": "^17.1.0",
80
+ "eslint-config-prettier": "^3.4.0",
81
+ "eslint-plugin-babel": "^5.3.0",
82
+ "eslint-plugin-import": "^2.14.0",
83
+ "eslint-plugin-jsx-a11y": "^6.1.2",
84
+ "eslint-plugin-prettier": "^3.0.1",
85
+ "eslint-plugin-react": "^7.12.3",
86
+ "husky": "^1.3.1",
87
+ "jest": "^23.6.0",
88
+ "lint-staged": "^8.1.0",
89
+ "moment-timezone": "^0.5.23",
90
+ "pkg": "^4.3.7",
91
+ "prettier": "^1.15.3",
92
+ "prettier-package-json": "^2.0.1",
93
+ "rimraf": "^2.6.3",
94
+ "terser-webpack-plugin": "^1.2.1",
95
+ "webpack": "^4.28.4",
96
+ "webpack-cli": "^3.2.1",
97
+ "webpack-node-externals": "^1.7.2"
98
+ },
99
+ "keywords": [
100
+ "NBA",
101
+ "cli"
102
+ ],
103
+ "engines": {
104
+ "node": ">=6.0.0"
105
+ },
106
+ "husky": {
107
+ "hooks": {
108
+ "pre-commit": "lint-staged"
109
+ }
110
+ },
111
+ "jest": {
112
+ "collectCoverageFrom": [
113
+ "src/**/*.js"
114
+ ],
115
+ "coveragePathIgnorePatterns": [
116
+ "/node_modules/",
117
+ "/__tests__/"
118
+ ],
119
+ "testPathIgnorePatterns": [
120
+ "node_modules/"
121
+ ]
122
+ },
123
+ "lint-staged": {
124
+ "package.json": [
125
+ "prettier-package-json --write",
126
+ "git add"
127
+ ],
128
+ "*.js": [
129
+ "eslint --fix",
130
+ "git add"
131
+ ]
132
+ },
133
+ "pkg": {
134
+ "scripts": [
135
+ "lib/**/*.js",
136
+ "node_modules/blessed/lib/**/*.js"
137
+ ],
138
+ "assets": "lib/data/fonts/*",
139
+ "targets": [
140
+ "node8-macos",
141
+ "node8-linux",
142
+ "node8-win"
143
+ ]
144
+ }
145
+ }