mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-25 23:54:55 +01:00
.. | ||
__tests__ | ||
lib | ||
babel.config.json | ||
package.json | ||
README.md | ||
webpack.common.js | ||
webpack.dev.js | ||
webpack.prod.js |
core-js
Core-JS defines custom functions for the Wisemapping ecosystem.
Quick Start
- Clone repository with the next command:
git clone https://[username]@bitbucket.org/wisemapping/wisemapping-frontend.git
where the variable username is you username of Bitbucket.
Note:The project is configured to use the yarn dependency manager
- Move to folder core-js
cd packages/core-js
-
Now you need install all dependence, this is done with command
yarn install
-
To start the development enviroment you have to use command
yarn start
.
Production
To build up the package core-js and use in production, you have to use command yarn build
Usage
To start using core-js it has to be required as a module and then intanciarce as a function
const coreJs = require('core-js');
coreJs();