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 15, 2021
1 parent 489d11f commit 6300446
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 14 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,4 @@
*.log
node_modules
coverage
retext.js
retext.min.js
yarn.lock
2 changes: 0 additions & 2 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
coverage
retext.js
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 @@ -10,7 +10,6 @@
},
"devDependencies": {
"bail": "^1.0.0",
"browserify": "^17.0.0",
"c8": "^7.0.0",
"chalk": "^4.0.0",
"lerna": "^4.0.0",
Expand All @@ -19,20 +18,16 @@
"remark-cli": "^9.0.0",
"remark-preset-wooorm": "^8.0.0",
"tape": "^5.0.0",
"tinyify": "^3.0.0",
"unist-builder": "^2.0.0",
"unist-util-remove-position": "^3.0.0",
"xo": "^0.38.0"
},
"scripts": {
"postinstall": "lerna bootstrap --no-ci",
"format": "remark . -qfo && prettier . -w --loglevel warn && xo --fix",
"build-bundle": "browserify packages/retext -s retext > retext.js",
"build-mangle": "browserify packages/retext -s retext -p tinyify > 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 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 @@ -47,10 +42,7 @@
"esnext": false,
"rules": {
"import/no-dynamic-require": "off"
},
"ignores": [
"retext.js"
]
}
},
"remarkConfig": {
"plugins": [
Expand Down

0 comments on commit 6300446

Please sign in to comment.