• Bryn Ryans's avatar
    Improve npm packaging (#437) · ead4b39a
    Bryn Ryans authored
    * Improve npm packaging
    
    published npm packages now included commonjs and esm distributions.
    
    Further work needs to be done to expose both commonjs and esm in all packages but the packages that need to run in both node and the browser either expose both or commonjs rather than esm.
    Unverified
    ead4b39a
This project manages its dependencies using npm. Learn more
package.json 1.09 KiB
  "name": "@looker/extension-api-explorer",
  "version": "7.20.3",
  "description": "Looker API Explorer extension version  ",
  "main": "esm/index.js",
  "license": "MIT",
  "private": true,
  "homepage": "https://github.com/looker-open-source/sdk-codegen/tree/master/packages/extension-api-explorer",
  "scripts": {
    "bundle": "tsc && webpack --config webpack.prod.config.js",
    "deploy": "bin/deploy",
    "develop": "webpack-dev-server --hot --disable-host-check --port 8080 --https --config webpack.dev.config.js",
    "watch": "yarn lerna exec --scope @looker/extension-api-explorer --stream 'BABEL_ENV=build babel src --root-mode upward --out-dir lib --source-maps --extensions .ts,.tsx --no-comments --watch'"
  "dependencies": {