keen-js

v5.0.1
This is v5 of the Keen IO JS SDK. Previous versions and their documentation are available as [branches](https://github.com/keen/keen-js/branches) of this repo.

start

NODE_ENV=development webpack-dev-server

postcss-watch

node_modules/postcss-cli/bin/postcss style/keen.css -o test/demo/keen.css --watch --config postcss.config.js

test

jest

build

NODE_ENV=production webpack -p && NODE_ENV=production OPTIMIZE_MINIMIZE=1 webpack -p && npm run build:bundle && npm run build:node && npm run build:css && npm run build:css:min

build:bundle

NODE_ENV=production BUNDLE=1 webpack -p && NODE_ENV=production OPTIMIZE_MINIMIZE=1 BUNDLE=1 webpack -p

build:node

TARGET=node NODE_ENV=production webpack -p

build:css

node_modules/postcss-cli/bin/postcss style/keen.css -o dist/keen.css --config postcss.config.js

build:css:min

OPTIMIZE_MINIMIZE=1 node_modules/postcss-cli/bin/postcss style/keen.css -o dist/keen.min.css --config postcss.config.js

preversion

npm run build

version

git add .

postversion

git push && git push --tags

profile

webpack --profile --json > stats.json

analyze

webpack-bundle-analyzer stats.json /dist

Metadata

  • MIT
  • Whatever
  • Keen IO
  • released 5/29/2018

Downloads