|
4 | 4 | "description": "case-preserving string.replace",
|
5 | 5 | "main": "lib/index.js",
|
6 | 6 | "scripts": {
|
7 |
| - "lint": "eslint lib test", |
8 |
| - "lint:fix": "eslint --fix lib test", |
9 |
| - "lint:watch": "esw --watch lib test", |
| 7 | + "lint": "eslint lib test --cache", |
| 8 | + "lint:fix": "eslint --fix lib test --cache", |
| 9 | + "lint:watch": "esw --watch lib test --cache", |
10 | 10 | "flow": "flow",
|
11 | 11 | "flow:coverage": "for file in lib/**.js test/**.js; do echo $file; flow coverage $file; done",
|
12 | 12 | "flow:watch": "flow-watch -e js,js.flow,flowconfig --ignore node_modules/ --watch .flowconfig --watch lib/ --watch test/",
|
13 | 13 | "test": "NODE_ENV=production BABEL_ENV=test nyc --reporter=lcov --reporter=text mocha $npm_package_config_mocha",
|
14 | 14 | "test:watch": "mocha --watch $npm_package_config_mocha",
|
15 |
| - "commitmsg": "validate-commit-msg", |
| 15 | + "codecov": "nyc report --reporter=text-lcov > coverage.lcov; codecov", |
| 16 | + "commitmsg": "commitlint -e $GIT_PARAMS", |
16 | 17 | "precommit": "npm run lint && flow",
|
17 | 18 | "prepush": "npm test",
|
18 |
| - "prepublish": "npm run lint && flow && npm test", |
| 19 | + "prepublishOnly": "npm run lint && flow && npm test", |
19 | 20 | "open:coverage": "open coverage/lcov-report/index.html",
|
20 |
| - "semantic-release": "semantic-release pre && npm publish && semantic-release post" |
| 21 | + "semantic-release": "semantic-release", |
| 22 | + "travis-deploy-once": "travis-deploy-once" |
21 | 23 | },
|
22 | 24 | "config": {
|
23 | 25 | "mocha": "./test/**/*.js",
|
|
35 | 37 | "url": "https://github.com/jedwards1211/preserve-case.git"
|
36 | 38 | },
|
37 | 39 | "keywords": [
|
38 |
| - "es5" |
| 40 | + "case-preserving", |
| 41 | + "preserve-case", |
| 42 | + "refactoring", |
| 43 | + "replace", |
| 44 | + "replace-text", |
| 45 | + "string-manipulation", |
| 46 | + "string-replace", |
| 47 | + "string-substitution" |
39 | 48 | ],
|
40 | 49 | "author": "Andy Edwards",
|
41 | 50 | "license": "MIT",
|
|
44 | 53 | },
|
45 | 54 | "homepage": "https://github.com/jedwards1211/preserve-case#readme",
|
46 | 55 | "devDependencies": {
|
| 56 | + "@commitlint/cli": "^6.0.2", |
| 57 | + "@commitlint/config-conventional": "^6.0.2", |
| 58 | + "@jedwards1211/commitlint-config": "^1.0.0", |
47 | 59 | "@jedwards1211/eslint-config-es5": "^1.0.0",
|
48 | 60 | "@jedwards1211/eslint-config-flow": "^1.0.0",
|
49 |
| - "chai": "^3.5.0", |
| 61 | + "chai": "^4.1.2", |
| 62 | + "codecov": "^3.0.0", |
50 | 63 | "copy": "^0.3.0",
|
51 | 64 | "coveralls": "^2.13.0",
|
52 | 65 | "eslint": "^3.18.0",
|
53 | 66 | "eslint-plugin-flowtype": "^2.30.4",
|
54 | 67 | "eslint-watch": "^3.0.1",
|
55 |
| - "flow-bin": "^0.42.0", |
| 68 | + "flow-bin": "^0.69.0", |
56 | 69 | "flow-watch": "^1.1.1",
|
57 |
| - "husky": "^0.13.3", |
| 70 | + "husky": "^0.14.3", |
58 | 71 | "istanbul": "^0.4.5",
|
59 |
| - "mocha": "^3.2.0", |
60 |
| - "nyc": "^10.2.0", |
| 72 | + "mocha": "^5.0.0", |
| 73 | + "nyc": "^11.4.1", |
61 | 74 | "rimraf": "^2.6.1",
|
62 |
| - "semantic-release": "^6.3.6", |
| 75 | + "semantic-release": "^12.2.2", |
| 76 | + "travis-deploy-once": "^4.3.1", |
63 | 77 | "validate-commit-msg": "^2.11.2"
|
64 | 78 | },
|
65 | 79 | "dependencies": {
|
|
0 commit comments