59 lines
1.4 KiB
JSON
59 lines
1.4 KiB
JSON
{
|
|
"name": "xo-collection",
|
|
"version": "0.3.0",
|
|
"license": "ISC",
|
|
"description": "Generic in-memory collection with events",
|
|
"keywords": [],
|
|
"homepage": "https://github.com/marsaud/collection",
|
|
"bugs": "https://github.com/marsaud/collection/issues",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/marsaud/collection.git"
|
|
},
|
|
"author": {
|
|
"name": "Fabrice Marsaud",
|
|
"email": "fabrice.marsaud@vates.fr"
|
|
},
|
|
"preferGlobal": false,
|
|
"main": "dist/collection",
|
|
"files": [
|
|
"dist/",
|
|
"*.js"
|
|
],
|
|
"dependencies": {
|
|
"babel-runtime": "^5",
|
|
"lodash.bind": "^3",
|
|
"lodash.callback": "^3",
|
|
"lodash.foreach": "^3",
|
|
"make-error": "^1"
|
|
},
|
|
"devDependencies": {
|
|
"babel": "^5",
|
|
"chai": "*",
|
|
"dirty-chai": "^1.2.0",
|
|
"event-to-promise": "^0.3.2",
|
|
"ghooks": "^0.3.2",
|
|
"mocha": "*",
|
|
"sinon": "^1.14.1",
|
|
"source-map-support": "*",
|
|
"standard": "*"
|
|
},
|
|
"scripts": {
|
|
"build": "mkdir -p dist && babel --optional=runtime --compact=true --source-maps --out-dir=dist/ src/",
|
|
"dev": "mkdir -p dist && babel --watch --optional=runtime --source-maps --out-dir=dist/ src/",
|
|
"prepublish": "npm run build",
|
|
"test": "mocha 'dist/**/*.spec.js'",
|
|
"test-dev": "mocha --watch --reporter=min 'dist/**/*.spec.js'"
|
|
},
|
|
"standard": {
|
|
"ignore": [
|
|
"dist/**"
|
|
]
|
|
},
|
|
"config": {
|
|
"ghooks": {
|
|
"pre-commit": "npm test"
|
|
}
|
|
}
|
|
}
|