Debian Codegraph @

Makefile

raw
1 test: lint dist/fetch.umd.js
2
3 lint: node_modules/
4 ./node_modules/.bin/eslint --report-unused-disable-directives *.js test/*.js
5
6 dist/fetch.umd.js: fetch.js rollup.config.js node_modules/
7 ./node_modules/.bin/rollup -c
8
9 dist/fetch.umd.js.flow: fetch.js.flow
10 cp $< $@
11
12 node_modules/:
13 npm install
14
15 clean:
16 rm -rf ./bower_components ./node_modules ./dist
17
18 .PHONY: clean lint test make dist/fetch.umd.js dist/fetch.umd.js.flow