|
33 | 33 | "tape": "^4.4.0" |
34 | 34 | }, |
35 | 35 | "scripts": { |
36 | | - "test-api": "node test.js", |
37 | | - "test-coverage": "istanbul cover test.js", |
38 | | - "test-travis": "npm run test-coverage", |
39 | | - "test": "npm run test-api", |
| 36 | + "build-md": "remark . --quiet --frail", |
| 37 | + "build-bundle": "browserify index.js --no-builtins -s mdastUtilToString > mdast-util-to-string.js", |
| 38 | + "build-mangle": "esmangle mdast-util-to-string.js > mdast-util-to-string.min.js", |
| 39 | + "build": "npm run build-md && npm run build-bundle && npm run build-mangle", |
40 | 40 | "lint-api": "eslint .", |
41 | 41 | "lint-style": "jscs --reporter inline .", |
42 | 42 | "lint": "npm run lint-api && npm run lint-style", |
43 | | - "make": "npm run lint && npm run test-coverage", |
44 | | - "bundle": "browserify index.js --no-builtins -s mdastUtilToString > mdast-util-to-string.js", |
45 | | - "postbundle": "esmangle mdast-util-to-string.js > mdast-util-to-string.min.js", |
46 | | - "build-md": "remark . --quiet --frail", |
47 | | - "build": "npm run bundle && npm run build-md" |
| 43 | + "test-api": "node test.js", |
| 44 | + "test-coverage": "istanbul cover test.js", |
| 45 | + "test": "npm run build && npm run lint && npm run test-coverage" |
48 | 46 | } |
49 | 47 | } |
0 commit comments