UNPKG

@hackoregon/utils

Version:
58 lines (57 loc) 1.84 kB
{ "name": "@hackoregon/utils", "version": "0.0.5", "sideEffects": false, "description": "Common utils for CIVIC", "main": "dist/index.js", "modules": "es/index.js", "scripts": { "build:esm": "rimraf es && babel src --out-dir es --copy-files --no-comments", "build:cjs": "rimraf dist && babel src --out-dir dist --copy-files --no-comments", "build": "BABEL_ENV=esm yarn run build:esm && BABEL_ENV=cjs yarn run build:cjs", "configure": "yarn run build", "test": "BABEL_ENV=test mocha --opts ./mocha.options ./src/**/*.test.js", "test:watch": "yarn test -w", "lint": "eslint src stories", "prepublish": "yarn build", "storybook": "node scripts/storybook.js", "start": "node scripts/start.js", "watch": "BABEL_ENV=cjs babel src --out-dir dist --copy-files --no-comments --watch --skip-initial-build" }, "repository": "git+https://github.com/hackoregon/civic.git", "author": "jaron@civicsoftwarefoundation.org", "license": "MIT", "private": false, "devDependencies": { "@babel/cli": "^7.0.0", "@babel/core": "^7.0.0", "@babel/register": "^7.0.0", "@storybook/addon-a11y": "^6.0.21", "@storybook/react": "^6.0.21", "chai": "^4.2.0", "chai-enzyme": "^1.0.0-beta.1", "enzyme": "^3.9.0", "enzyme-adapter-react-16": "^1.11.2", "eslint": "^5.15.1", "ignore-styles": "^5.0.1", "jsdom": "^14.0.0", "mocha": "^6.0.2", "rimraf": "^2.6.2", "sinon": "^7.2.7", "sinon-chai": "^3.3.0", "source-map-support": "^0.4.11" }, "dependencies": { "@emotion/core": "^10.0.15", "d3-format": "1.3.0", "d3-time-format": "^2.1.3", "lodash": "^4.17.11", "prop-types": "^15.7.2", "react": "^16.8.4", "react-dom": "^16.8.4", "shortid": "^2.2.14" }, "publishConfig": { "access": "public" } }