You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
372 B
19 lines
372 B
2 years ago
|
test: lint dist/fetch.umd.js
|
||
|
|
||
|
lint: node_modules/
|
||
|
./node_modules/.bin/eslint --report-unused-disable-directives *.js test/*.js
|
||
|
|
||
|
dist/fetch.umd.js: fetch.js rollup.config.js node_modules/
|
||
|
./node_modules/.bin/rollup -c
|
||
|
|
||
|
dist/fetch.umd.js.flow: fetch.js.flow
|
||
|
cp $< $@
|
||
|
|
||
|
node_modules/:
|
||
|
npm install
|
||
|
|
||
|
clean:
|
||
|
rm -rf ./bower_components ./node_modules
|
||
|
|
||
|
.PHONY: clean lint test
|