mirror of
https://github.com/zhigang1992/example-npm.git
synced 2026-06-13 00:28:52 +08:00
Co-authored-by: Steve Winton <stevewinton@gmail.com> Co-authored-by: Steve Winton <swinton@users.noreply.github.com> Co-authored-by: Brandon Keepers <bkeepers@github.com>
54 lines
1.2 KiB
JSON
54 lines
1.2 KiB
JSON
{
|
|
"name": "@scrabblescore/scrabblescore",
|
|
"version": "1.0.9",
|
|
"description": "Find the Scrabble score for a given word",
|
|
"author": "Steve Winton <stevewinton@gmail.com> (https://github.com/swinton)",
|
|
"main": "index.js",
|
|
"license": "ISC",
|
|
"keywords": [],
|
|
"scripts": {
|
|
"start": "node ./index.js",
|
|
"dev": "nodemon",
|
|
"test": "jest && eslint index.js 'test/**.js'",
|
|
"lint": "eslint index.js 'test/**.js' --fix"
|
|
},
|
|
"dependencies": {},
|
|
"devDependencies": {
|
|
"eslint": "^5.5.0",
|
|
"eslint-config-airbnb": "^17.1.0",
|
|
"eslint-config-prettier": "^3.0.1",
|
|
"eslint-plugin-import": "^2.14.0",
|
|
"eslint-plugin-jsx-a11y": "^6.1.1",
|
|
"eslint-plugin-prettier": "^2.6.2",
|
|
"eslint-plugin-react": "^7.11.1",
|
|
"jest": "^23.5.0",
|
|
"nodemon": "^1.18.4",
|
|
"prettier": "^1.14.2"
|
|
},
|
|
"engines": {
|
|
"node": ">= 8.3.0"
|
|
},
|
|
"jest": {
|
|
"testEnvironment": "node",
|
|
"collectCoverageFrom": [
|
|
"index.js",
|
|
"lib/*.js"
|
|
],
|
|
"coverageThreshold": {
|
|
"global": {
|
|
"branches": 80,
|
|
"functions": 80,
|
|
"lines": 80,
|
|
"statements": 80
|
|
}
|
|
}
|
|
},
|
|
"nodemonConfig": {
|
|
"exec": "npm start",
|
|
"watch": [
|
|
".env",
|
|
"."
|
|
]
|
|
}
|
|
}
|