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

babel-plugin-transform-sitevision-apps

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-transform-sitevision-apps

This plugins transforms ES2015 modules to Sitevision Webapps

latest
Source
npmnpm
Version
0.1.4
Version published
Maintainers
1
Created
Source

babel-plugin-transform-sitevision-apps

Transform Sitevision Server Side Javascript.

Build npm

Webapps & Restapps

Sitevision Webapps file tree: https://developer.sitevision.se/docs/webapps/getting-started

  • index.js
  • main.js
  • modules
  • Pre render hooks (introduced in SV: 6.2)

See files in test/ for ES6-ified files.

Usage

npm install --save-dev babel-plugin-transform-sitevision-apps

Node Api

require("@babel/core").transform("your_code", {
  plugins: [["@babel/plugin-transform-sitevision-apps", options]]
});

Type Schema

Sitevision FileType
index.jsindexjs
config/*/index.jsindexjs
hooks.jsindexjs
main.jsmainjs
server/module/*.jsmodules

Options

type

string, defaults to modules.

See Type Schema for valid values.

Development

$ npm install
$ npm run build
$ npm test

Keywords

sitevision

FAQs

Package last updated on 07 Apr 2021

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