Skip to content

Commit

Permalink
build: move dynamic module generation to a preinstall script (#1403)
Browse files Browse the repository at this point in the history
  • Loading branch information
darthtrevino committed Jun 18, 2019
1 parent 6d1634e commit 283f1b4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 0 additions & 4 deletions .travis.yml
Expand Up @@ -6,10 +6,6 @@ addons:
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- -version 1.16.0
- export PATH=$HOME/.yarn/bin:$PATH
- node packages/alternative_builds/cjs/create_cjs_modules.js

install:
- yarn install

node_js:
- 'lts/*'
Expand Down
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -47,6 +47,7 @@
"prettify": "prettier 'packages/*/**/*.js' 'examples/**/*.js' 'site/**/*.js'",
"precommit": "lint-staged",
"prepublishOnly": "npm test",
"preinstall": "node packages/alternative_builds/cjs/create_cjs_modules.js",
"start": "lerna run --parallel --stream start",
"watch": "lerna run --parallel --stream watch"
},
Expand Down

0 comments on commit 283f1b4

Please sign in to comment.