|
20 | 20 | "Nick Baugh <niftylettuce@gmail.com> (http://niftylettuce.com/)" |
21 | 21 | ], |
22 | 22 | "dependencies": { |
23 | | - "@babel/runtime": "^7.6.3", |
24 | 23 | "dayjs": "^1.8.16", |
25 | 24 | "debug": "^4.1.1", |
26 | 25 | "mailparser": "^2.7.7", |
|
30 | 29 | "uuid": "^3.3.3" |
31 | 30 | }, |
32 | 31 | "devDependencies": { |
33 | | - "@babel/cli": "^7.6.4", |
34 | | - "@babel/core": "^7.6.4", |
35 | | - "@babel/plugin-transform-runtime": "^7.6.2", |
36 | | - "@babel/preset-env": "^7.6.3", |
37 | 32 | "@commitlint/cli": "^8.2.0", |
38 | 33 | "@commitlint/config-conventional": "^8.2.0", |
39 | 34 | "auto-bind": "^2.1.1", |
|
48 | 43 | "nyc": "^14.1.1", |
49 | 44 | "remark-cli": "^7.0.0", |
50 | 45 | "remark-preset-github": "^0.0.16", |
51 | | - "rimraf": "^3.0.0", |
52 | 46 | "xo": "^0.25.3" |
53 | 47 | }, |
54 | 48 | "engines": { |
55 | | - "node": ">=8" |
| 49 | + "node": ">=10" |
56 | 50 | }, |
57 | 51 | "files": [ |
58 | | - "lib", |
| 52 | + "src", |
59 | 53 | "template.pug" |
60 | 54 | ], |
61 | 55 | "homepage": "https://github.com/niftylettuce/preview-email", |
|
114 | 108 | ] |
115 | 109 | } |
116 | 110 | }, |
117 | | - "main": "lib/index.js", |
| 111 | + "main": "src/index.js", |
118 | 112 | "prettier": { |
119 | 113 | "singleQuote": true, |
120 | 114 | "bracketSpacing": true, |
|
131 | 125 | }, |
132 | 126 | "scripts": { |
133 | 127 | "ava": "cross-env NODE_ENV=test DEBUG=preview-email ava", |
134 | | - "build": "npm run build:clean && npm run build:lib", |
135 | | - "build:clean": "rimraf lib dist", |
136 | | - "build:lib": "babel src --out-dir lib", |
137 | 128 | "coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov", |
138 | | - "lint": "xo && remark . -qfo && eslint lib", |
| 129 | + "lint": "xo && remark . -qfo && eslint . --ignore-path .gitignore", |
139 | 130 | "nyc": "cross-env NODE_ENV=test nyc ava", |
140 | | - "test": "npm run build && npm run lint && npm run ava", |
141 | | - "test-coverage": "npm run build && npm run lint && npm run nyc" |
| 131 | + "test": "npm run lint && npm run ava", |
| 132 | + "test-coverage": "npm run lint && npm run nyc" |
142 | 133 | }, |
143 | 134 | "xo": { |
144 | 135 | "prettier": true, |
|
0 commit comments