1 | 1 | | { |
2 | 2 | | "name": "cfonts", |
3 | 3 | | "description": "Sexy fonts for the console", |
4 | | - | "version": "2.8.1", |
| 4 | + | "version": "2.8.2", |
5 | 5 | | "homepage": "https://github.com/dominikwilkowski/cfonts", |
6 | 6 | | "author": { |
7 | 7 | | "name": "Dominik Wilkowski", |
| skipped 23 lines |
31 | 31 | | }, |
32 | 32 | | "scripts": { |
33 | 33 | | "prepublish": "yarn build && yarn test", |
34 | | - | "test": "yarn build && yarn test:unit && yarn test:fonts", |
| 34 | + | "test": "yarn build && yarn test:unit && yarn test:lint && yarn test:types && yarn test:fonts", |
35 | 35 | | "test:fonts": "node ./test/fonttest.js", |
36 | 36 | | "test:watch": "jest --watchAll --coverage", |
37 | 37 | | "test:unit": "npx cross-env FORCE_COLOR=3 jest", |
38 | | - | "test:types": "yarn types:clean && yarn types:declaration", |
| 38 | + | "test:types": "yarn types:clean && yarn types:declaration && yarn types:clean", |
| 39 | + | "test:lint": "eslint src/", |
39 | 40 | | "build": "yarn build:lib && yarn build:bin", |
40 | 41 | | "build:bin": "npx mkdirp bin && mv lib/bin.js bin/index.js", |
41 | 42 | | "build:lib": "npx mkdirp lib && babel src --out-dir lib", |
42 | 43 | | "watch": "yarn build:lib && onchange 'src/**/*' -- yarn build:lib", |
43 | 44 | | "types:clean": "find lib/ -type f -name '*.d.ts' -exec rm {} +", |
44 | | - | "types:declaration": "tsc -p declaration.tsconfig.json", |
| 45 | + | "types:declaration": "tsc -p declaration.tsconfig.json --resolveJsonModule", |
45 | 46 | | "coveralls": "jest --coverage --coverageReporters=text-lcov | coveralls", |
46 | 47 | | "nuke": "rm -rf lib && rm -rf node_modules && rm yarn.lock" |
47 | 48 | | }, |
48 | 49 | | "devDependencies": { |
49 | 50 | | "@babel/cli": "^7.8.4", |
50 | | - | "@babel/core": "^7.8.7", |
51 | | - | "@babel/preset-env": "^7.8.7", |
| 51 | + | "@babel/core": "^7.9.6", |
| 52 | + | "@babel/preset-env": "^7.9.6", |
52 | 53 | | "@types/node": "latest", |
53 | | - | "coveralls": "^3.0.9", |
54 | | - | "jest-cli": "^25.1.0", |
55 | | - | "onchange": "^6.1.0", |
| 54 | + | "coveralls": "^3.1.0", |
| 55 | + | "eslint": "^6.8.0", |
| 56 | + | "jest-cli": "^25.5.3", |
| 57 | + | "onchange": "^7.0.2", |
56 | 58 | | "typescript": "^3.8.3" |
57 | 59 | | }, |
58 | 60 | | "peerDependencies": {}, |
59 | 61 | | "dependencies": { |
60 | | - | "chalk": "^3.0.0", |
| 62 | + | "chalk": "^4.0.0", |
61 | 63 | | "window-size": "^1.1.1" |
62 | 64 | | }, |
63 | 65 | | "resolutions": { |
| skipped 16 lines |
80 | 82 | | "lines": 95, |
81 | 83 | | "statements": 95 |
82 | 84 | | } |
| 85 | + | } |
| 86 | + | }, |
| 87 | + | "eslintConfig": { |
| 88 | + | "env": { |
| 89 | + | "node": true, |
| 90 | + | "commonjs": true, |
| 91 | + | "es6": true |
| 92 | + | }, |
| 93 | + | "extends": "eslint:recommended", |
| 94 | + | "globals": { |
| 95 | + | "Atomics": "readonly", |
| 96 | + | "SharedArrayBuffer": "readonly" |
| 97 | + | }, |
| 98 | + | "parserOptions": { |
| 99 | + | "ecmaVersion": 2018 |
| 100 | + | }, |
| 101 | + | "rules": { |
| 102 | + | "no-async-promise-executor": "off", |
| 103 | + | "no-console": "off", |
| 104 | + | "no-unused-vars": [ |
| 105 | + | "error", |
| 106 | + | { |
| 107 | + | "argsIgnorePattern": "_" |
| 108 | + | } |
| 109 | + | ] |
83 | 110 | | } |
84 | 111 | | }, |
85 | 112 | | "browserslist": [ |
| skipped 23 lines |