@tipe/tipe-constants
Advanced tools
Comparing version 1.0.0 to 2.0.0
module.exports = { | ||
root: true, | ||
parserOptions: { | ||
sourceType: 'module', | ||
parser: 'babel-eslint' | ||
}, | ||
env: { | ||
@@ -11,13 +7,3 @@ browser: true, | ||
}, | ||
extends: ['standard', 'prettier', 'prettier/standard'], | ||
plugins: ['prettier'], | ||
rules: { | ||
'prettier/prettier': 'error', | ||
'promise/catch-or-return': 'error', | ||
'max-lines': [ | ||
'error', | ||
{ max: 250, skipBlankLines: true, skipComments: true } | ||
], | ||
semi: [2, 'never'] | ||
}, | ||
extends: ['@tipe/eslint-config-tipe/server'], | ||
globals: { | ||
@@ -24,0 +10,0 @@ ENV: true |
101
package.json
{ | ||
"name": "@tipe/tipe-constants", | ||
"version": "1.0.0", | ||
"version": "2.0.0", | ||
"description": "Tipe Constants", | ||
@@ -9,14 +9,107 @@ "main": "build/lib/index.js", | ||
"scripts": { | ||
"release": "yarn build && yarn np", | ||
"build": "yarn webpack --config build/configs/webpack.prod.conf.js", | ||
"build:dev": "yarn webpack --config build/configs/webpack.dev.conf.js" | ||
"build:dev": "yarn webpack --config build/configs/webpack.dev.conf.js", | ||
"eslint-check": "eslint --print-config .eslintrc.js | eslint-config-prettier-check", | ||
"precommit": "lint-staged && yarn test", | ||
"lint": "eslint --ext .js, src", | ||
"lint-autofix": "yarn lint --fix", | ||
"test": "jest", | ||
"ci": "yarn lint && yarn test", | ||
"travis-deploy-once": "travis-deploy-once --pro", | ||
"semantic-release": "semantic-release" | ||
}, | ||
"lint-staged": { | ||
"linters": { | ||
"*.js": [ | ||
"eslint --fix", | ||
"git add" | ||
] | ||
} | ||
}, | ||
"devDependencies": { | ||
"@semantic-release/changelog": "^3.0.0", | ||
"@semantic-release/git": "^7.0.1", | ||
"@tipe/eslint-config-tipe": "^2.0.0", | ||
"babel-core": "^6.26.3", | ||
"babel-eslint": "^8.2.6", | ||
"babel-loader": "^7.1.5", | ||
"eslint": "^5.4.0", | ||
"eslint-config-prettier": "^3.0.1", | ||
"eslint-config-standard": "^11.0.0", | ||
"eslint-plugin-import": "^2.14.0", | ||
"eslint-plugin-jest": "^21.21.0", | ||
"eslint-plugin-modules": "^1.1.1", | ||
"eslint-plugin-node": "^7.0.1", | ||
"eslint-plugin-prettier": "^2.6.2", | ||
"eslint-plugin-promise": "^4.0.0", | ||
"eslint-plugin-standard": "^3.1.0", | ||
"husky": "^0.14.3", | ||
"jest": "^23.5.0", | ||
"lint-staged": "^7.2.2", | ||
"np": "^3.0.4", | ||
"semantic-release": "^15.9.9", | ||
"webpack": "^4.15.1", | ||
"webpack-cli": "^3.0.8", | ||
"webpack-merge": "^4.1.3" | ||
"webpack-merge": "^4.1.3", | ||
"travis-deploy-once": "^5.0.2" | ||
}, | ||
"release": { | ||
"success": [ | ||
"@semantic-release/github" | ||
], | ||
"fail": [ | ||
"@semantic-release/github" | ||
], | ||
"verifyConditions": [ | ||
"@semantic-release/changelog", | ||
"@semantic-release/npm", | ||
"@semantic-release/git", | ||
"@semantic-release/github" | ||
], | ||
"prepare": [ | ||
"@semantic-release/changelog", | ||
"@semantic-release/npm", | ||
{ | ||
"path": "@semantic-release/git", | ||
"assets": [ | ||
"package.json", | ||
"CHANGELOG.md" | ||
], | ||
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}" | ||
} | ||
], | ||
"publish": [ | ||
"@semantic-release/npm", | ||
"@semantic-release/github" | ||
], | ||
"analyzeCommits": { | ||
"preset": "angular", | ||
"releaseRules": [ | ||
{ | ||
"type": "docs", | ||
"scope": "README", | ||
"release": "patch" | ||
}, | ||
{ | ||
"type": "refactor", | ||
"release": "patch" | ||
}, | ||
{ | ||
"type": "style", | ||
"release": "patch" | ||
} | ||
], | ||
"parserOpts": { | ||
"noteKeywords": [ | ||
"BREAKING CHANGE", | ||
"BREAKING CHANGES", | ||
"BREAKING" | ||
] | ||
} | ||
} | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/tipeio/tipe-constants.git" | ||
} | ||
} |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
281313
14
0
25
74
1