Repository URL to install this package:
|
Version:
1.1.14 ▾
|
@skava/ui
/
Makefile
|
|---|
dev: yarn storybook # todo - to yarn link, we need to output somewherre else # that means we need to update aliases since they go to dist # otherwise make dev outputs ui-component-library storybook only code # overwriting the build babel: NODE_ENV=development BABEL_ENV=development npx babel dist/src --out-dir dist/src || true compile: npx tsc --outDir dist || true types: npx tsc --declaration --declarationDir dist/typings || true JENKINS: yarn install # $(MAKE) JENKINS && publish: $(MAKE) types && $(MAKE) compile && $(MAKE) babel && $(MAKE) cleanup # copy & mv, but can copy with rename as per below # cp -f package.build.json dist; # mv dist/package.build.json dist/package.json; cleanup: pwd;\ rm -rf ./dist/node_modules;\ rm -rf ./dist/config;\ rm -rf ./dist/stories;\ rm -rf ./dist/typings/stories;\ rm -rf ./dist/typings/node_modules;\ pwd;\ cp -f package.build.json dist/package.json;\ pwd;\ # @todo rimraf dist/src & typings => it is exporting old files!!! # @todo rimraf dist/node_modules & .git # git commit --ammend "build"; automated: make publish;\ cp -R package.json dist;\ cd dist;\ rm -f node_modules;\ rm -f config;\ git init;\ git remote add origin https://bitbucket.org/skava-admin/ui-component-library.git;\ git checkout -b branch_name_here;\ git add -A git commit -m "build 0.4.0";\ git push origin HEAD:branch_name_here;\ # @todo add prepush lint: yarn tslint --project tsconfig.json --format stylish