Repository URL to install this package:
|
Version:
1.1.16 ▾
|
@skava/graphql
/
Makefile
|
|---|
SHELL := /bin/bash dev: yarn run cross-env NODE_ENV=development IS_STANDALONE_GRAPHQL=true SHOULD_USE_LOWERCASE_STORE_ID=true SHOULD_USE_PLAYGROUND=true BASE_URL='http://localhost:4000' PORT=4000 webpack --watch & $(MAKE) watch_graphql watch_graphql: node scripts/dev mock_dev: yarn run cross-env USE_MOCKS=true $(MAKE) dev mock_start: yarn run cross-env USE_MOCKS=true $(MAKE) start # @todo it needs to rimraf prebuild: node ./scripts/deploy/index.js && $(MAKE) babel build: $(MAKE) prebuild && yarn run cross-env NODE_ENV=production webpack build_prod: $(MAKE) prebuild && yarn run webpack --config webpack.config.prod.js start: yarn run build && yarn run cross-env NODE_ENV=production IS_STANDALONE_GRAPHQL=true BASE_URL='http://localhost:4000' HOST=localhost node dist/server.js copy: cp -R src dist/; babel: yarn run babel src --out-dir dist tests: NODE_ENV=testing BASE_URL='http://localhost:4000' PORT=4000 SERVER_URL='http://localhost:4000' yarn run jest tdd: yarn run jest -- --watch --lastCommit --onlyChanged build_schema: yarn run graphql prepare -p skava-graphql -o src/generated --bundle --save build_fragments: yarn run graphql generate-fragments -p skava-graphql -o src/generated -g graphql --save --verbose build_types: yarn run graphql prepare build_generated: $(MAKE) build_schema && $(MAKE) build_fragments && $(MAKE) build_types publish: $(MAKE) build_generated && $(MAKE) build_prod