New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@psff/devkit

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@psff/devkit

Devkit to build apps & components

unpublished
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

@psff/devkit

Package with the dependencies needed to build and test common components and services.

Install

  yarn add @psff/devkit

Usage

Check the cli help for all the available commands

yarn psff-devkit --help

Migrage package.json

Add the scripts needed in your package and remove all dependencies from dependencies and devDependencies already satisfied by devkit.

Vue package example.

  "scripts": {
    "build": "psff-devkit vue build",
    "test:unit": "psff-devkit vue test:unit",
    "test:unit:coverage": "psff-devkit vue test:unit --coverage",
    "test:unit:watch": "psff-devkit vue test:unit --watch"
  },
  "dependencies": {
    "@psff/devkit": "0.0.0"
  },
  "devDependencies": {},

Migrate .config files

babel.config.js

module.exports = {
  ...require('@psff/devkit/babel.config')
}

jest.config.js

module.exports = {
  ...require('@psff/devkit/jest.config'),
  setupFiles: [
    '<rootDir>/tests/unit/setup.ts',
  ]
};

postcss.config.js

module.exports = {
  ...require('@psff/devkit/postcss.config')
};

tsconfig.js

{
  "extends": "@psff/devkit/tsconfig.vue.json",
  "compilerOptions": {
    "baseUrl": "."
  },
  "include": [
    "src/**/*.ts",
    "src/**/*.tsx",
    "src/**/*.vue",
    "tests/**/*.ts",
    "tests/**/*.tsx"
  ],
  "exclude": [
    "node_modules"
  ]
}

vue.config.js

module.exports = {
  ...require('@psff/devkit/vue.config')
};

FAQs

Package last updated on 21 May 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts