63 lines
1.8 KiB
JSON
63 lines
1.8 KiB
JSON
{
|
|
"name": "remcalc",
|
|
"version": "1.0.8",
|
|
"license": "MPL-2.0",
|
|
"description": "Calculate the `rem`'s from `px` values",
|
|
"keywords": ["calc", "rem", "em", "px", "pixels", "pixel"],
|
|
"repository": "github:yldio/joyent-portal",
|
|
"main": "dist/remcalc.umd.js",
|
|
"jsnext:main": "dist/remcalc.es.js",
|
|
"module": "dist/remcalc.es.js",
|
|
"entry": "src/index.js",
|
|
"scripts": {
|
|
"lint": "eslint . --fix",
|
|
"lint-ci": "eslint . --format junit --output-file $CIRCLE_TEST_REPORTS/lint/remcalc.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/remcalc --reporter=lcov --reporter=text ava --tap | tap-xunit > $CIRCLE_TEST_REPORTS/test/remcalc.xml",
|
|
"build": "bup",
|
|
"postinstall": "bup",
|
|
"prepublish": "bup"
|
|
},
|
|
"dependencies": {
|
|
"lodash.flatten": "^4.4.0"
|
|
},
|
|
"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-plugin-transform-es2015-template-literals": "^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": "3.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-template-literals",
|
|
"transform-es2015-arrow-functions",
|
|
"transform-es2015-spread"
|
|
],
|
|
"env": {
|
|
"test": {
|
|
"plugins": ["istanbul"]
|
|
}
|
|
}
|
|
},
|
|
"ava": {
|
|
"tap": true,
|
|
"require": ["babel-register"],
|
|
"babel": "inherit"
|
|
}
|
|
}
|