diff --git a/examples/flow/esm.js.flow b/examples/flow/destructuring.js.flow similarity index 100% rename from examples/flow/esm.js.flow rename to examples/flow/destructuring.js.flow diff --git a/examples/flow/package.json b/examples/flow/package.json index 100f966c7b..0da78cb969 100644 --- a/examples/flow/package.json +++ b/examples/flow/package.json @@ -14,15 +14,15 @@ "build": "yarn run build-date-fns && yarn run flow-check && yarn run build-babel", "flow-check": "flow check", "build-date-fns": "env PACKAGE_OUTPUT_PATH=\"$(pwd)/node_modules/date-fns\" ../../scripts/build/package.sh", - "build-babel": "yarn run build-babel-example && yarn run build-babel-fp && yarn run build-babel-misc && yarn build-babel-esm", + "build-babel": "yarn run build-babel-example && yarn run build-babel-fp && yarn run build-babel-misc && yarn build-babel-destructuring", "build-babel-example": "mkdir -p dist && babel example.js.flow --out-file dist/example.js", "build-babel-fp": "mkdir -p dist && babel fp.js.flow --out-file dist/fp.js", "build-babel-misc": "mkdir -p dist && babel misc.js.flow --out-file dist/misc.js", - "build-babel-esm": "mkdir -p dist && babel esm.js.flow --out-file dist/esm.js", - "test": "yarn run test-example && yarn run test-fp && yarn run test-misc && yarn run test-esm", + "build-babel-destructuring": "mkdir -p dist && babel destructuring.js.flow --out-file dist/destructuring.js", + "test": "yarn run test-example && yarn run test-fp && yarn run test-misc && yarn run test-destructuring", "test-example": "test $(env TZ=UTC node ./dist/example.js) = true", "test-fp": "test $(env TZ=UTC node ./dist/fp.js) = true", "test-misc": "test $(env TZ=UTC node ./dist/misc.js) = true", - "test-esm": "test $(env TZ=UTC node ./dist/esm.js) = true" + "test-destructuring": "test $(env TZ=UTC node ./dist/destructuring.js) = true" } }