nyg-opensource-jam3
Version:
Jam3 Open Source Library Generator with no build configuration and no prompts
75 lines (74 loc) • 1.82 kB
JSON
{
"name": "library",
"version": "0.0.1",
"description": "[Description]",
"main": "src/index.js",
"scripts": {
"test": "jest --watch",
"test-ci": "jest --ci && npm run linters && npm run size && npm run audit",
"size": "bundlesize",
"linters": "eslint './src/**/*.js'",
"audit": "audit-ci --high",
"release": "standard-version"
},
"engines": {
"node": ">=10.15.0",
"npm": ">=6.5.0"
},
"license": "MIT",
"devDependencies": {
"@commitlint/cli": "7.5.2",
"@commitlint/config-conventional": "7.5.0",
"audit-ci": "1.3.1",
"babel-eslint": "10.0.1",
"bundlesize": "0.17.1",
"envinfo": "7.0.0",
"eslint": "5.13.0",
"eslint-config-jam3": "2.0.0",
"eslint-config-prettier": "4.0.0",
"eslint-config-standard": "12.0.0",
"eslint-plugin-import": "2.16.0",
"eslint-plugin-jest": "22.2.2",
"eslint-plugin-node": "8.0.1",
"eslint-plugin-prettier": "3.0.1",
"eslint-plugin-promise": "4.0.1",
"eslint-plugin-standard": "4.0.0",
"husky": "1.3.1",
"jest": "24.1.0",
"lint-staged": "8.1.4",
"prettier": "1.16.4",
"standard-version": "4.4.0"
},
"bundlesize": [
{
"path": "src/index.js",
"maxSize": "3 kB"
}
],
"jest": {
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*.js",
"!**/node_modules/**"
]
},
"lint-staged": {
"src/**/*.js": [
"eslint --fix",
"prettier --write",
"git add"
],
"__tests__/**/*.js": [
"eslint --fix",
"prettier --write",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "echo 'Pre-commit checks...' && lint-staged",
"pre-push": "echo 'Pre-push checks...' && npm run test-ci",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}