File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed
Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change 1- NODE_BIN = ./node_modules/.bin
2-
31# Development
42lint :
53 @echo " Linting..."
6- @$( NODE_BIN ) / eslint .
4+ @npx eslint .
75lint-fix :
86 @echo " Fix linting..."
9- @$( NODE_BIN ) / eslint --fix .
7+ @npx eslint --fix .
108dev :
119 @echo " Start server..."
12- @NODE_ENV=development $( NODE_BIN ) / rollup -c rollup.config.demo.js -w
10+ @NODE_ENV=development npx rollup -c rollup.config.demo.js -w
1311.PHONY : lint lint-fix dev
1412
1513# Deployment
1614build :
1715 @echo " Building lib..."
1816 @rm -rf ./dist
19- @$( NODE_BIN ) / rollup -c rollup.config.js
17+ @npx rollup -c rollup.config.js
2018 @echo " Copy type into dist..."
2119 @cp react-nice-avatar.d.ts dist/react-nice-avatar.d.ts
2220build-demo :
2321 @echo " Building demo..."
2422 @rm -rf ./demo/dist
25- @NODE_ENV=production $( NODE_BIN ) / rollup -c rollup.config.demo.js
23+ @NODE_ENV=production npx rollup -c rollup.config.demo.js
2624.PHONY : build build-demo
You can’t perform that action at this time.
0 commit comments