generator-terra-module
Version:
terra module skeleton generator
47 lines (46 loc) • 1.48 kB
JSON
{
"name": "<%=projectName%>",
"main": "lib/<%=jsxFileName%>.js",
"version": "0.0.0",
"description": "{insert description}",
"repository": {
"type": "git",
"url": "git+https://github.com/cerner/<%=repository%>.git",
"directory": "packages/<%=projectName%>"
},
"keywords": [
"Cerner",
"Terra",
<%-keywords%>"<%=projectName%>",
"<%=jsxFileName%>",
"UI"
],
"author": "Cerner Corporation",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/cerner/<%=repository%>/issues"
},
"homepage": "https://github.com/cerner/<%=repository%>#readme",
"peerDependencies": {
"react": "^16.8.5",
"react-dom": "^16.8.5"
},
"dependencies": {
"classnames": "^2.2.5",
"prop-types": "^15.5.8",
"terra-theme-context": "^1.0.0"
},
"scripts": {
"compile": "babel --root-mode upward src --out-dir lib --copy-files",
"lint": "npm run lint:js && npm run lint:scss",
"lint:js": "eslint --ext .js,.jsx . --ignore-path ../../.eslintignore",
"lint:scss": "stylelint src/**/*.scss",
"precompile": "rm -rf lib",
"test": "npm run lint && npm run jest && npm run wdio",
"jest": "jest --config ../../jestconfig.js",
"wdio-default": "cd ../.. && npx wdio",
"wdio-lowlight": "cd ../.. && THEME=clinical-lowlight-theme npx wdio",
"wdio-fusion": "cd ../.. && THEME=orion-fusion-theme npx wdio",
"wdio": "npm run wdio-default && npm run wdio-lowlight && npm run wdio-fusion"
}
}