Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
@skava/ui-presets / Makefile
Size: Mime:
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
babel:
	NODE_ENV=development BABEL_ENV=development npx babel dist --out-dir dist || true

precompile:
	rm -fr dist
#  && $(MAKE) esnext && $(MAKE) es6
compile:
	$(MAKE) precompile && $(MAKE) commonjs
commonjs:
	npx tsc --project tsconfig.base.json --module commonjs || true
esnext:
	npx tsc --project tsconfig.base.json --module esnext --outDir dist/esnext || true
es6:
	npx tsc --project tsconfig.base.json --module es6 --outDir dist/module || true

# --allowJS=false
types:
	npx tsc --declaration --declarationDir dist/typings || true

JENKINS:
	yarn install

publish:
	$(MAKE) compile && $(MAKE) babel


babel_windows:
	NODE_ENV=development BABEL_ENV=development npx babel dist --out-dir dist
compile_windows:
	npx tsc --project tsconfig.base.json
publish_windows:
	$(MAKE) compile_windows && $(MAKE) babel_windows

# @todo add prepush
lint:
	yarn tslint --project tsconfig.json --format stylish