New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@ferlab/config

Package Overview
Dependencies
Maintainers
6
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ferlab/config - npm Package Compare versions

Comparing version 1.0.0 to 1.0.2

README.md

11

config.js

@@ -23,2 +23,12 @@ #!/usr/bin/env node

const copyCommitLintFile = () => {
const source = `${__dirname}/templates/commitlint.config.js`;
const target = `${process.cwd()}/commitlint.config.js`;
fs.copyFile(source, target, err => {
err ? console.log('ERROR: ', err)
: console.log(`SUCCESS: ~${target.replace(os.homedir(), '')} is now updated`);
})
}
const huskyConfig = () => {

@@ -55,2 +65,3 @@ const dest = `${process.cwd()}/.husky`

copyEslintFile();
copyCommitLintFile();
huskyConfig();

2

package.json
{
"name": "@ferlab/config",
"version": "1.0.0",
"version": "1.0.2",
"description": "Script and Standard Configuration for all ferlab project",

@@ -5,0 +5,0 @@ "main": "config.js",

@@ -6,3 +6,3 @@ {

"lint:fix": "npm run lint -- --fix",
"prepare": "husky install",
"prepare": "npm run theme; husky install",
"update:config": "npx @ferbab/config"

@@ -12,3 +12,3 @@ },

"src/**/*.{ts,tsx}": [
"npm run lint&fix"
"npm run lint:fix"
]

@@ -52,3 +52,5 @@ },

"eslint-plugin-sort-destructure-keys": "^1.4.0",
"eslint-plugin-sort-keys-fix": "^1.1.2"
"eslint-plugin-sort-keys-fix": "^1.1.2",
"husky": "^8.0.1",
"lint-staged": "^13.0.3"
},

@@ -55,0 +57,0 @@ "prettier": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc