diff --git a/.gitignore b/.gitignore index e4d04ca..9b8ba84 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,5 @@ .DS_Store +node_modules/ *.log coverage/ -node_modules/ -retext-sentence-spacing.js -retext-sentence-spacing.min.js yarn.lock diff --git a/.prettierignore b/.prettierignore index 7ac61e2..cebe81f 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,5 +1,2 @@ coverage/ -retext-sentence-spacing.js -retext-sentence-spacing.min.js -*.json *.md diff --git a/package.json b/package.json index d52fc16..3531ff5 100644 --- a/package.json +++ b/package.json @@ -31,24 +31,19 @@ "unist-util-visit": "^2.0.0" }, "devDependencies": { - "browserify": "^17.0.0", "c8": "^7.0.0", "prettier": "^2.0.0", "remark-cli": "^9.0.0", "remark-preset-wooorm": "^8.0.0", "retext": "^7.0.0", "tape": "^5.0.0", - "tinyify": "^3.0.0", "xo": "^0.37.0" }, "scripts": { "format": "remark . -qfo && prettier . -w --loglevel warn && xo --fix", - "build-bundle": "browserify . -s retextSentenceSpacing > retext-sentence-spacing.js", - "build-mangle": "browserify . -s retextSentenceSpacing -p tinyify > retext-sentence-spacing.min.js", - "build": "npm run build-bundle && npm run build-mangle", "test-api": "node --conditions development test.js", "test-coverage": "c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov node --conditions development test.js", - "test": "npm run format && npm run build && npm run test-coverage" + "test": "npm run format && npm run test-coverage" }, "prettier": { "tabWidth": 2, @@ -64,10 +59,7 @@ "rules": { "unicorn/no-array-callback-reference": "off", "unicorn/prefer-type-error": "off" - }, - "ignores": [ - "retext-sentence-spacing.js" - ] + } }, "remarkConfig": { "plugins": [