mirror of
https://github.com/opelly27/streetmerchant.git
synced 2026-05-20 06:27:38 +00:00
refactor: use gts instead of xo
feat: add browser opening to test:notification feat: add c8 and mocha for testing feat: update Docker and ci style: update editorconfig
This commit is contained in:
+22
-20
@@ -3,15 +3,22 @@
|
||||
"description": "The world's easiest, most powerful stock checker",
|
||||
"main": "src/index.ts",
|
||||
"scripts": {
|
||||
"all": "npm run build && npm run lint",
|
||||
"build": "tsc",
|
||||
"lint": "xo",
|
||||
"lint:fix": "xo --fix",
|
||||
"start": "npm run build && node build/index.js",
|
||||
"all": "npm run compile && npm run lint && npm run test",
|
||||
"fix": "gts fix",
|
||||
"lint": "gts lint",
|
||||
"clean": "gts clean",
|
||||
"compile": "tsc",
|
||||
"pretest": "npm run compile",
|
||||
"posttest": "npm run lint",
|
||||
"start": "npm run compile && node build/src/index.js",
|
||||
"start:dev": "nodemon --config nodemon.json",
|
||||
"start:production": "node build/index.js",
|
||||
"test:notification": "npm run build && node build/__test__/notification-test.js",
|
||||
"test:notification:production": "node build/__test__/notification-test.js"
|
||||
"start:production": "node build/src/index.js",
|
||||
"test": "c8 mocha 'build/test/**/test-*.js' --exclude 'build/test/functional/**/test-*.js'",
|
||||
"test:notification": "npm run compile && node build/test/functional/test-notification.js",
|
||||
"test:notification:production": "node build/test/functional/test-notification.js"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=12.0.0 <15.0.0"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@@ -61,26 +68,21 @@
|
||||
"devDependencies": {
|
||||
"@types/async": "^3.2.5",
|
||||
"@types/cheerio": "^0.22.23",
|
||||
"@types/mocha": "^8.2.0",
|
||||
"@types/node": "^14.14.21",
|
||||
"@types/node-fetch": "^2.5.8",
|
||||
"@types/node-notifier": "^8.0.0",
|
||||
"@types/nodemailer": "^6.4.0",
|
||||
"@types/puppeteer": "^5.4.2",
|
||||
"@types/sinon": "^9.0.10",
|
||||
"@types/twitter": "^1.7.0",
|
||||
"c8": "^7.4.0",
|
||||
"gts": "^3.1.0",
|
||||
"mocha": "^8.2.1",
|
||||
"nodemon": "^2.0.7",
|
||||
"sinon": "^9.2.3",
|
||||
"ts-node": "^9.1.1",
|
||||
"typescript": "^4.1.3",
|
||||
"webpack": "^5.14.0",
|
||||
"xo": "^0.36.1"
|
||||
},
|
||||
"xo": {
|
||||
"prettier": true,
|
||||
"ignores": "docs/javascripts",
|
||||
"rules": {
|
||||
"no-warning-comments": "off",
|
||||
"sort-imports": "error",
|
||||
"sort-keys": "error",
|
||||
"sort-vars": "error"
|
||||
}
|
||||
"webpack": "^5.14.0"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user