Skip to content

Commit

Permalink
Remove browser build
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Jul 18, 2021
1 parent cc8cf07 commit 10b898b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 16 deletions.
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
.DS_Store
node_modules/
*.log
coverage/
node_modules/
retext-sentence-spacing.js
retext-sentence-spacing.min.js
yarn.lock
3 changes: 0 additions & 3 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
coverage/
retext-sentence-spacing.js
retext-sentence-spacing.min.js
*.json
*.md
12 changes: 2 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -64,10 +59,7 @@
"rules": {
"unicorn/no-array-callback-reference": "off",
"unicorn/prefer-type-error": "off"
},
"ignores": [
"retext-sentence-spacing.js"
]
}
},
"remarkConfig": {
"plugins": [
Expand Down

0 comments on commit 10b898b

Please sign in to comment.