1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-14 07:10:05 +02:00
copilot/packages/unitcalc/package.json
Sérgio Ramos 0667ca8ad3 chore: different test targets for CI
this allows for junit reports and parallel executions
2017-05-31 20:04:12 +01:00

60 lines
1.3 KiB
JSON

{
"name": "unitcalc",
"version": "1.0.5",
"license": "MPL-2.0",
"description": "Calculate the `rem`'s from unit values",
"keywords": [
"calc",
"rem",
"em",
"px",
"pixels",
"pixel",
"baseline",
"unit"
],
"repository": "github:yldio/joyent-portal",
"main": "src/index.js",
"scripts": {
"lint": "eslint . --fix",
"lint-ci": "eslint . --format junit --output-file $CIRCLE_TEST_REPORTS/lint/unitcalc.xml",
"test": "cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text ava",
"test-ci": "cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text ava --tap | tap-xunit > $CIRCLE_TEST_REPORTS/test/unitcalc.xml"
},
"dependencies": {
"lodash.flatten": "^4.4.0",
"remcalc": "^1.0.5"
},
"devDependencies": {
"ava": "0.19.1",
"babel-plugin-istanbul": "^4.1.3",
"babel-register": "^6.24.1",
"cross-env": "^5.0.0",
"eslint": "^3.19.0",
"eslint-config-joyent-portal": "1.0.0",
"nyc": "^10.3.2",
"tap-xunit": "^1.7.0"
},
"nyc": {
"sourceMap": false,
"instrument": false
},
"babel": {
"sourceMaps": "inline",
"env": {
"test": {
"plugins": [
"istanbul"
]
}
}
},
"ava": {
"tap": true,
"require": [
"babel-register"
],
"babel": "inherit"
}
}