71 lines
1.8 KiB
JSON
71 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",
|
|
"postinstall": "bup",
|
|
"prepublish": "bup"
|
|
},
|
|
"dependencies": {
|
|
"lodash.flatten": "^4.4.0",
|
|
"remcalc": "^1.0.8"
|
|
},
|
|
"devDependencies": {
|
|
"ava": "^0.22.0",
|
|
"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.26.0",
|
|
"bup": "^1.0.9",
|
|
"cross-env": "^5.0.5",
|
|
"eslint": "^4.5.0",
|
|
"eslint-config-joyent-portal": "2.0.0",
|
|
"nyc": "^11.1.0",
|
|
"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"
|
|
}
|
|
}
|