rae
Version:
Simple Rae Dictionary Library
130 lines (129 loc) • 4.43 kB
JSON
{
"author": {
"name": "Tsur",
"email": "zurisadai.pabon@gmail.com"
},
"name": "rae",
"version": "1.0.3",
"description": "Simple Rae Dictionary Library",
"keywords": [
"dictionary",
"rae",
"spanish",
"words",
"definition",
"lema"
],
"license": "MIT",
"main": "build/lib.js",
"files": ["build"],
"repository": {
"type": "git",
"url": "https://github.com/tsur/node-rae.git"
},
"bin": {
"rae": "./build/cli.js"
},
"devDependencies": {
"@babel/core": "^7.2.2",
"@babel/preset-env": "^7.2.3",
"babel-loader": "^8.0.5",
"circular-dependency-plugin": "^4.2.1",
"clipboard": "^1.7.1",
"cp": "^0.2.0",
"cross-env": "^5.1.1",
"css-loader": "^0.28.7",
"eslint": "^4.10.0",
"eslint-config-airbnb-base": "^12.1.0",
"eslint-import-resolver-webpack": "^0.8.3",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-mocha": "^4.11.0",
"exports-loader": "^0.6.4",
"express": "^4.16.2",
"file-loader": "^1.1.5",
"gh-pages": "^1.0.0",
"ghooks": "^2.0.0",
"html-loader": "^0.5.1",
"html-webpack-plugin": "^2.30.1",
"htmlparser2": "^3.9.2",
"imports-loader": "^0.7.1",
"jest-cli": "^21.2.1",
"mocha": "^4.0.1",
"readline": "^1.3.0",
"rimraf": "^2.6.2",
"semantic-release": "^8.2.0",
"should": "^13.1.2",
"style-loader": "^0.19.0",
"uglifyjs-webpack-plugin": "^2.1.1",
"validate-commit-msg": "^2.14.0",
"webpack": "^4.28.3",
"webpack-bundle-analyzer": "^2.9.0",
"webpack-cli": "^3.2.0"
},
"dependencies": {
"cheerio": "^1.0.0-rc.2",
"isomorphic-fetch": "^2.2.1",
"lodash": "^4.17.4"
},
"scripts": {
"pretest": "rimraf coverage",
"test": "cross-env NODE_ENV=test jest --coverage",
"test:watch": "cross-env NODE_ENV=test jest --watch --no-cache",
"build:lib": "webpack --config internals/webpack/lib.js --color -p --progress",
"build:cli": "webpack --config internals/webpack/cli.js --color -p --progress",
"build:site": "webpack --config internals/webpack/site.js --color -p --progress",
"build:server": "webpack --config internals/webpack/server.js --color -p --progress",
"prebuild": "rimraf build",
"build": "npm run build:lib && npm run build:cli && npm run build:site && npm run build:server",
"lint": "eslint . --ignore-path .gitignore --ignore-pattern internals",
"predeploy:site": "rimraf build && cross-env URL=https://rae-api.herokuapp.com/ webpack --config internals/webpack/site.js --color -p --progress",
"deploy:site": "node ./internals/scripts/gh-pages.js",
"predeploy:server": "rimraf build && cross-env PROD=true CORS=\"https://tsur.github.io, http://zuri.website\" webpack --config internals/webpack/server.js --color -p --progress",
"deploy:server": "rimraf rae-api && git clone https://git.heroku.com/rae-api.git && cp build/server.js rae-api && cp internals/heroku/package.json rae-api && cp internals/heroku/Procfile rae-api && cp internals/heroku/index.js rae-api && cd rae-api && git add . && git commit -m \"Deploy to heroku\" && git push origin master && cd .. && rimraf rae-api",
"deploy": "npm run deploy:server && npm run deploy:site",
"validate": "npm run lint && npm run build:cli && npm run test",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
},
"config": {
"ghooks": {
"pre-push": "npm run lint",
"commit-msg": "validate-commit-msg"
}
},
"jest": {
"collectCoverageFrom": [
"src/**/*.js",
"!src/cli/**/*.js",
"!src/server/**/*.js",
"!src/site/**/*.js",
"!src/__tests__/**/*.js",
"!build/**/*.js"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"/internals/",
"/examples/"
],
"testPathIgnorePatterns": [
"/node_modules/",
"/internals/",
"/examples/"
],
"coverageThreshold": {
"global": {
"branches": 70,
"functions": 70,
"lines": 70,
"statements": 70
}
},
"moduleDirectories": [
"node_modules",
"src"
],
"setupTestFrameworkScriptFile": "<rootDir>/internals/testing/test-bundler.js",
"transformIgnorePatterns": [
"<rootDir>/node_modules/"
]
}
}