66 lines
1.6 KiB
JSON
66 lines
1.6 KiB
JSON
{
|
|
"name": "xo-common",
|
|
"version": "0.1.1",
|
|
"license": "AGPL-3.0",
|
|
"description": "Code shared between [XO](https://xen-orchestra.com) server and clients",
|
|
"keywords": [],
|
|
"homepage": "https://github.com/vatesfr/xen-orchestra/tree/master/packages/xo-common",
|
|
"bugs": "https://github.com/vatesfr/xen-orchestra/issues",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/vatesfr/xen-orchestra.git"
|
|
},
|
|
"author": {
|
|
"name": "Julien Fontanet",
|
|
"email": "julien.fontanet@isonoe.net"
|
|
},
|
|
"preferGlobal": false,
|
|
"bin": {},
|
|
"files": [
|
|
"dist/",
|
|
"*.js"
|
|
],
|
|
"engines": {
|
|
"node": ">=4"
|
|
},
|
|
"dependencies": {
|
|
"babel-runtime": "^6.18.0",
|
|
"lodash": "^4.16.6",
|
|
"make-error": "^1.2.1"
|
|
},
|
|
"devDependencies": {
|
|
"babel-cli": "^6.24.1",
|
|
"babel-plugin-lodash": "^3.3.2",
|
|
"babel-plugin-transform-runtime": "^6.23.0",
|
|
"babel-preset-env": "^1.5.2",
|
|
"babel-preset-stage-3": "^6.24.1",
|
|
"cross-env": "^5.1.3",
|
|
"rimraf": "^2.6.1"
|
|
},
|
|
"scripts": {
|
|
"build": "cross-env NODE_ENV=production babel --source-maps --out-dir=dist/ src/",
|
|
"clean": "rimraf dist/",
|
|
"dev": "cross-env NODE_ENV=development babel --watch --source-maps --out-dir=dist/ src/",
|
|
"prebuild": "yarn run clean",
|
|
"predev": "yarn run prebuild",
|
|
"prepublishOnly": "yarn run build"
|
|
},
|
|
"babel": {
|
|
"plugins": [
|
|
"lodash"
|
|
],
|
|
"presets": [
|
|
[
|
|
"env",
|
|
{
|
|
"targets": {
|
|
"browsers": "> 1%",
|
|
"node": 4
|
|
}
|
|
}
|
|
],
|
|
"stage-3"
|
|
]
|
|
}
|
|
}
|