1
0
Fork 0
freesewing/packages/core/src/index.js

36 lines
604 B
JavaScript
Raw Normal View History

2019-08-03 15:03:33 +02:00
import Design from './design'
import Pattern from './pattern'
import Point from './point'
import Path from './path'
import Snippet from './snippet'
import * as utils from './utils'
import { version } from '../package.json'
2018-07-23 14:16:39 +00:00
/*
* Named exports will become the default in FreeSewing v3
*/
export {
version,
Design,
Pattern,
Point,
Path,
Snippet,
utils,
}
// This is a helper for configuration files
export const pctBasedOn = utils.pctBasedOn
/*
* Default exports will be removed in FreeSewing v3
*/
2018-07-23 11:12:06 +00:00
export default {
version,
2019-02-16 07:28:56 +01:00
Design,
Pattern,
Point,
Path,
Snippet,
2018-07-26 13:43:12 +00:00
utils,
2019-08-03 15:03:33 +02:00
}