electrode-react-webapp
Version:
Hapi plugin that provides a default React web app template
155 lines (154 loc) • 3.42 kB
JSON
{
"name": "electrode-react-webapp",
"version": "5.1.1",
"description": "Hapi plugin that provides a default React web app template",
"main": "index.js",
"xclap": {
"tasks": {
"compile": "babel src-template -D -d template",
"test-only": "~[compile, electrode/test-only]",
"check": "~[compile, electrode/check]"
}
},
"homepage": "http://www.electrode.io",
"repository": {
"type": "git",
"url": "https://github.com/electrode-io/electrode.git"
},
"bugs": {
"url": "https://github.com/electrode-io/electrode/issues"
},
"keywords": [
"electrode",
"node",
"webserver"
],
"author": "Electrode (http://www.electrode.io/)",
"contributors": [
{
"name": "Joel Chen",
"email": "xchen@walmartlabs.com"
},
{
"name": "Caoyang Shi",
"email": "cshi@walmartlabs.com"
},
{
"name": "Arpan Nanavati",
"email": "nanavatiarpan@gmail.com"
}
],
"license": "Apache-2.0",
"files": [
"lib",
"template",
"index.js"
],
"dependencies": {
"electrode-archetype-njs-module-dev": "^3.0.3",
"electrode-hapi-compat": "^1.2.0",
"eslint": "^7.32.0",
"eslint-config-walmart": "^2.2.1",
"eslint-plugin-filenames": "^1.1.0",
"eslint-plugin-jsdoc": "^30.7.9",
"http-status-codes": "^1.3.0",
"in-publish": "^2.0.0",
"lodash": "^4.17.10",
"munchy": "^1.0.9",
"require-at": "^1.0.6",
"string-array": "^1.0.0",
"xaa": "^1.6.0"
},
"devDependencies": {
"@babel/cli": "^7.22.10",
"@babel/core": "^7.22.11",
"@babel/preset-env": "^7.22.10",
"@babel/preset-react": "^7.22.5",
"@babel/register": "^7.22.5",
"@xarc/module-dev": "^4.1.0",
"@xarc/run": "^1.1.1",
"babel-eslint": "^10.1.0",
"benchmark": "^2.1.4",
"chai": "4.3.6",
"electrode-redux-router-engine": "6.0.0",
"electrode-server": "^1.8.0",
"electrode-server2": "npm:electrode-server@^2.0.0",
"eslint": "^7.32.0",
"eslint-config-walmart": "^2.2.1",
"eslint-plugin-filenames": "^1.1.0",
"eslint-plugin-jsdoc": "^30.7.9",
"express": "^4.15.4",
"koa": "^2.3.0",
"koa-router": "^7.4.0",
"mocha": "^10.2.0",
"nyc": "^15.1.0",
"object-assign": "^4.1.0",
"prettier": "^1.5.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-helmet": "^5.2.0",
"run-verify": "^1.0.2",
"stream-to-array": "^2.3.0",
"superagent": "^1.8.5",
"uglify-js": "^2.6.2",
"xclap": "^0.2.0",
"xstdout": "^0.1.1"
},
"nyc": {
"all": true,
"check-coverage": true,
"statements": 100,
"branches": 98,
"functions": 100,
"lines": 100,
"cache": true,
"reporter": [
"lcov",
"text",
"text-summary"
],
"exclude": [
"coverage",
"*clap.js",
"gulpfile.js",
"dist",
"test",
"src-template",
"electrode-server2"
],
"extension": [
".jsx"
],
"require": [
"@babel/register"
]
},
"@xarc/module-dev": {
"srcDir": [
"src",
"test",
"scripts"
],
"features": [
"eslint",
"eslintTS",
"mocha",
"typedoc",
"typescript"
]
},
"prettier": {
"printWidth": 100,
"trailingComma": "none",
"arrowParens": "avoid"
},
"scripts": {
"build": "echo \"Nothing to build. Just a placeholder\"",
"lint": "clap lint",
"pre-test": "clap compile",
"test": "clap test-only",
"coverage": "clap test-cov",
"check": "clap check",
"format": "prettier --write --print-width 100 *.{js,jsx} `find . -type d -d 1 -exec echo '{}/**/*.{js,jsx}' \\; | egrep -v '(/node_modules/|/dist/|/coverage/)'`"
}
}