74 lines
1.8 KiB
JSON
74 lines
1.8 KiB
JSON
{
|
|
"name": "unitcalc",
|
|
"version": "1.0.8",
|
|
"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": "dist/unitcalc.umd.js",
|
|
"jsnext:main": "dist/unitcalc.es.js",
|
|
"module": "dist/unitcalc.es.js",
|
|
"entry": "src/index.js",
|
|
"scripts": {
|
|
"lint": "eslint . --fix",
|
|
"lint-ci": "eslint . --format junit --output-file $CIRCLE_TEST_REPORTS/lint/unitcalc.xml",
|
|
"test": "bup && cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text ava",
|
|
"test-ci": "cross-env NODE_ENV=test nyc --report-dir=$CIRCLE_ARTIFACTS/unitcalc --reporter=lcov --reporter=text ava --tap | tap-xunit > $CIRCLE_TEST_REPORTS/test/unitcalc.xml",
|
|
"build": "bup",
|
|
"prepublish": "bup"
|
|
},
|
|
"dependencies": {
|
|
"lodash.flatten": "^4.4.0",
|
|
"remcalc": "^1.0.8"
|
|
},
|
|
"devDependencies": {
|
|
"ava": "0.19.1",
|
|
"babel-plugin-istanbul": "^4.1.4",
|
|
"babel-plugin-transform-es2015-arrow-functions": "^6.22.0",
|
|
"babel-plugin-transform-es2015-parameters": "^6.24.1",
|
|
"babel-plugin-transform-es2015-spread": "^6.22.0",
|
|
"babel-register": "^6.24.1",
|
|
"bup": "^1.0.9",
|
|
"cross-env": "^5.0.1",
|
|
"eslint": "^3.19.0",
|
|
"eslint-config-joyent-portal": "2.0.0",
|
|
"nyc": "^11.0.2",
|
|
"tap-xunit": "^1.7.0"
|
|
},
|
|
"nyc": {
|
|
"sourceMap": false,
|
|
"instrument": false
|
|
},
|
|
"babel": {
|
|
"sourceMaps": "inline",
|
|
"plugins": [
|
|
"transform-es2015-parameters",
|
|
"transform-es2015-arrow-functions",
|
|
"transform-es2015-spread"
|
|
],
|
|
"env": {
|
|
"test": {
|
|
"plugins": [
|
|
"istanbul"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"ava": {
|
|
"tap": true,
|
|
"require": [
|
|
"babel-register"
|
|
],
|
|
"babel": "inherit"
|
|
}
|
|
}
|