diff --git a/package.json b/package.json index 2086e447a3..7fdd98d1b4 100644 --- a/package.json +++ b/package.json @@ -1,19 +1,17 @@ + { "name": "javascript-algorithms-and-data-structures", "version": "0.0.4", - "description": "Algorithms and data-structures implemented on JavaScript", + "description": "Algorithms and data structures implemented in JavaScript", "repository": { "type": "git", - "url": "git+https://github.com/trekhleb/javascript-algorithms.git" + "url": "https://github.com/trekhleb/javascript-algorithms.git" }, "keywords": [ "computer-science", - "cs", "algorithms", "data-structures", "javascript", - "algorithm", - "javascript-algorithms", "sorting-algorithms", "graph", "tree", @@ -28,10 +26,17 @@ "homepage": "https://github.com/trekhleb/javascript-algorithms#readme", "main": "index.js", "scripts": { - "lint": "eslint ./src/**", + "lint": "eslint \"src/**/*.js\"", + "lint:fix": "eslint \"src/**/*.js\" --fix", "test": "jest", - "coverage": "npm run test -- --coverage", - "ci": "npm run lint && npm run coverage", + "test:watch": "jest --watch", + "test:ci": "jest --ci --coverage --runInBand", + "coverage": "jest --coverage", + "check": "npm run lint && npm run test:ci", + "audit": "npm audit", + "audit:ci": "npm audit --audit-level=high", + "ci": "npm run check", + "verify": "npm run check && npm run audit:ci", "prepare": "husky" }, "devDependencies": {