Files
xen-orchestra/packages/xo-collection/package.json
T

87 lines
2.0 KiB
JSON

{
"name": "xo-collection",
"version": "0.4.1",
"license": "ISC",
"description": "Generic in-memory collection with events",
"keywords": [],
"homepage": "https://github.com/vatesfr/xen-orchestra/tree/master/packages/xo-collection",
"bugs": "https://github.com/vatesfr/xo-web/issues",
"repository": {
"type": "git",
"url": "https://github.com/vatesfr/xen-orchestra.git"
},
"author": {
"name": "Fabrice Marsaud",
"email": "fabrice.marsaud@vates.fr"
},
"preferGlobal": false,
"main": "dist/collection",
"bin": {},
"files": [
"dist/",
"*.js"
],
"engines": {
"node": ">=4"
},
"dependencies": {
"babel-runtime": "^6.18.0",
"kindof": "^2.0.0",
"lodash": "^4.17.2",
"make-error": "^1.0.2"
},
"devDependencies": {
"babel-cli": "^6.18.0",
"babel-eslint": "^7.1.0",
"babel-plugin-lodash": "^3.2.11",
"babel-plugin-transform-runtime": "^6.15.0",
"babel-preset-env": "^1.1.8",
"babel-preset-stage-3": "^6.17.0",
"cross-env": "^3.1.4",
"dependency-check": "^2.7.0",
"event-to-promise": "^0.7.0",
"jest": "^18.1.0",
"rimraf": "^2.5.4",
"standard": "^8.6.0"
},
"scripts": {
"build": "cross-env NODE_ENV=production babel --source-maps --out-dir=dist/ src/",
"dev": "cross-env NODE_ENV=development babel --watch --source-maps --out-dir=dist/ src/",
"dev-test": "jest --bail --watch",
"posttest": "standard && dependency-check ./package.json --entry dist/collection.js index.js unique-index.js view.js",
"prebuild": "rimraf dist/",
"predev": "yarn run prebuild",
"prepublish": "yarn run build",
"test": "jest"
},
"babel": {
"plugins": [
"lodash",
"transform-runtime"
],
"presets": [
[
"env",
{
"targets": {
"node": 4
}
}
],
"stage-3"
]
},
"jest": {
"testPathDirs": [
"<rootDir>/src"
],
"testRegex": "\\.spec\\.js$"
},
"standard": {
"ignore": [
"dist"
],
"parser": "babel-eslint"
}
}