Skip to content

Commit

Permalink
fix: remove lib-cov and outdated deps (#2659)
Browse files Browse the repository at this point in the history
  • Loading branch information
iChenLei committed Feb 19, 2022
1 parent 8df54bb commit 41bbf28
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 172 deletions.
2 changes: 0 additions & 2 deletions .gitignore
@@ -1,8 +1,6 @@
css
lib-cov
testing
.DS_Store
/node_modules
coverage.html
lib-cov
.idea
1 change: 0 additions & 1 deletion .npmignore
Expand Up @@ -21,4 +21,3 @@ test/
graphics/

coverage.html
lib-cov
8 changes: 1 addition & 7 deletions Makefile
Expand Up @@ -19,12 +19,6 @@ TM_BUNDLE_DEST = $(shell $(DETERMINE_TEXTMATE_BUNDLE_PATH))
test:
@npm test

test-cov: lib-cov
@STYLUS_COV=1 npm run-script test-cov

lib-cov: lib
./node_modules/.bin/jscoverage $< $@

install-bundle:
mkdir -p "$(TM_BUNDLE_DEST)"
cp -fr "$(TM_BUNDLE)" "$(TM_BUNDLE_DEST)"
Expand All @@ -35,4 +29,4 @@ update-bundle:
benchmark:
@node bm.js

.PHONY: test install-bundle update-bundle benchmark test-cov
.PHONY: test install-bundle update-bundle benchmark
5 changes: 1 addition & 4 deletions index.js
@@ -1,4 +1 @@

module.exports = process.env.STYLUS_COV
? require('./lib-cov/stylus')
: require('./lib/stylus');
module.exports = require('./lib/stylus');
157 changes: 0 additions & 157 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Expand Up @@ -38,7 +38,6 @@
},
"devDependencies": {
"chai": "^4.3.6",
"jscoverage": "~0.6.0",
"mocha": "^9.2.0"
},
"bugs": {
Expand Down

0 comments on commit 41bbf28

Please sign in to comment.