Skip to content
Views Tools morpher
JavaScript Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
__tests__/app
morph
parse
.babelrc
.eslintrc
.gitignore chore: bundle morpher bin into bin.js to support older node versions Jul 6, 2019
.npmignore
.prettierrc
.travis.yml
CONTRIBUTING.md
LICENSE
README.md
add-to-map-set.js
clean.js fix: cleanup to include new ignored files Jun 23, 2019
cli.js chore: bundle morpher bin into bin.js to support older node versions Jul 6, 2019
ensure-flow.js
ensure-is-before.js
ensure-is-media.js
ensure-local-container.js
ensure-track-context.js
fonts.js feat: watch files May 26, 2019
get-files.js
get-points-of-use.js
get-view-id-from-file.js
get-view-relative-to-view.js
index.js
is-view-custom.js
make-get-system-import.js
maybe-morph.js
maybe-print-warnings.js
morph-all-views.js
morphers.js
package.json
parse-views.js
process-files.js
process-view-custom-files.js
process-view-files.js
relativise.js
restricted-names.js
rollup.config.js chore: bundle morpher bin into bin.js to support older node versions Jul 6, 2019
sort-sets-in-map.js
watch-files.js
watch.js
yarn.lock

README.md

Views Tools language morpher

NPM package Build status Greenkeeper badge

Looking for Views Tools docs?

The easiest way to integrate Views with your project is to follow this guide.

If you know what you're doing run it as a standalone command. You can install it with:

npm install --save-dev @viewstools/morph

Then, you can use it with any React or React Native app like this from within your project's folder:

# run on the src directory and morph as react-dom
views-morph src --watch --as react-dom

# run on the current directory and morph as react-native
views-morph . --watch --as react-dom

Views morphs .view files into .view.js. You may want to add those to .gitignore:

**/*.view.js

Want to contribute?

Brilliant! Check out CONTRIBUTING.md for a step-by-step guide.

See https://views.tools for more info.

License BSD-Clause-3

by UXtemple

You can’t perform that action at this time.