Skip to content

Commit

Permalink
Remove browser build
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Aug 3, 2021
1 parent 7f1f757 commit 7a3d622
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 15 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,4 @@ coverage/
node_modules/
.DS_Store
*.log
remark-retext.js
remark-retext.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/
remark-retext.js
remark-retext.min.js
*.json
*.md
12 changes: 2 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
"mdast-util-to-nlcst": "^4.0.0"
},
"devDependencies": {
"browserify": "^17.0.0",
"c8": "^7.0.0",
"prettier": "^2.0.0",
"remark-cli": "^9.0.0",
Expand All @@ -42,18 +41,14 @@
"retext-english": "^3.0.0",
"retext-stringify": "^2.0.0",
"tape": "^5.0.0",
"tinyify": "^3.0.0",
"unified": "^9.0.0",
"xo": "^0.37.0"
},
"scripts": {
"format": "remark . -qfo && prettier . -w --loglevel warn && xo --fix",
"build-bundle": "browserify . -s remarkRetext > remark-retext.js",
"build-mangle": "browserify . -s remarkRetext -p tinyify > remark-retext.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 npm run test-api",
"test": "npm run format && npm run build && npm run test-coverage"
"test": "npm run format && npm run test-coverage"
},
"prettier": {
"tabWidth": 2,
Expand All @@ -65,10 +60,7 @@
},
"xo": {
"prettier": true,
"esnext": false,
"ignores": [
"remark-retext.js"
]
"esnext": false
},
"remarkConfig": {
"plugins": [
Expand Down

0 comments on commit 7a3d622

Please sign in to comment.