Build infrastructure
authorRandall Leeds <randall@apache.org>
Sun, 7 Jan 2018 02:24:01 +0000 (18:24 -0800)
committerRandall Leeds <randall@apache.org>
Wed, 10 Jan 2018 09:15:11 +0000 (01:15 -0800)
commit4f7d0ec6b3e9567f6d38f573cf3e5ade98c3965b
tree47a821a2825e2f7da6e8feca5d830ec4f69a3354
parent21a2bec972982ea77f3cfb71a94f5d94096e4596
Build infrastructure

Set up the build infrastructure.

- Stanardize on all source files in `src` directories

- Move all source files to `.mjs`

- Set up Webpack to prioritize `.mjs`

- Set up ESLint import plugin for `.mjs`

- Set up ESLint for transpiled and local `.mjs`  scripts

- Add npm build scripts for CommonJS and ES modules

- Add .npmignore files for every package
36 files changed:
.eslintignore
.eslintrc.yml
.gitignore
package.json
packages/any/.npmignore [new file with mode: 0644]
packages/any/package.json
packages/any/src/index.mjs [moved from packages/any/index.js with 100% similarity]
packages/dom/.npmignore [new file with mode: 0644]
packages/dom/package.json
packages/dom/src/index.mjs [moved from packages/dom/index.js with 100% similarity]
packages/dom/src/text/index.mjs [moved from packages/dom/text/index.js with 95% similarity]
packages/dom/src/text/quote.mjs [moved from packages/dom/text/quote.js with 100% similarity]
packages/fragment-identifier/.gitignore
packages/fragment-identifier/.npmignore [new file with mode: 0644]
packages/fragment-identifier/package.json
packages/fragment-identifier/src/fragment.pegjs [moved from packages/fragment-identifier/fragment.pegjs with 100% similarity]
packages/fragment-identifier/src/index.mjs [moved from packages/fragment-identifier/index.js with 100% similarity]
packages/range/.npmignore [new file with mode: 0644]
packages/range/package.json
packages/range/src/cartesian.mjs [moved from packages/range/cartesian.js with 100% similarity]
packages/range/src/index.mjs [moved from packages/range/index.js with 100% similarity]
packages/refinedBy/.npmignore [new file with mode: 0644]
packages/refinedBy/package.json
packages/refinedBy/src/index.mjs [moved from packages/refinedBy/index.js with 100% similarity]
packages/selector/.npmignore [new file with mode: 0644]
packages/selector/package.json
packages/selector/src/index.mjs [moved from packages/selector/index.js with 100% similarity]
packages/selector/test/index.mjs [moved from packages/selector/test/index.js with 100% similarity]
packages/tee/.npmignore [new file with mode: 0644]
packages/tee/package.json
packages/tee/src/index.mjs [moved from packages/tee/index.js with 100% similarity]
packages/text/.npmignore [new file with mode: 0644]
packages/text/package.json
packages/text/src/index.mjs [moved from packages/text/index.js with 100% similarity]
webpack.config.js
yarn.lock