Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
grunt-webpage-scaffold
Advanced tools
Help build the new Webpage project, static resource automatic generation of page demo file and dependence (optional without JS file). Once to initialize grunt, open the default browser to observe the compiled Demo. At the same time will automatically star
Help build the new Webpage project, static resource automatic generation of page demo file and dependence (optional without JS file). Once to initialize grunt, open the default browser to observe the compiled Demo. At the same time will automatically start the Livereload pattern of development, we can start coding: )
This plugin requires Grunt ~0.4.5
npm install grunt-webpage-scaffold --save-dev
Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:
grunt.loadNpmTasks('grunt-webpage-scaffold');
In Gruntfile, you need some config ,for example:
module.exports = (grunt) ->
grunt.initConfig
webpage:
options:
#coffee: 'coffee/page/'
js: 'js/page/'
less: 'less/page/'
lessCommonCode: '@import "../var";'
demo: 'demos/'
demoShowPath: 'http://localhost/git/moc/build/demos/'
tplPath: '.tpl'
Type: String
Default value: 'js/page/'
A string value that is used to determine where to generate js file. It's 'mutually exclusive with options.coffee
Type: String
Default value: ''
A string value that is used to determine where to generate coffee file. It's 'mutually exclusive with options.js
Type: String
Default value: 'less/page/'
A string value that is used to determine where to generate less file.
Type: String
Default value: ''
A string value that is used to write something common into less file at the top.
Type: String
Default value: 'demo/'
A string value that is used to determine where to generate html demo file.
Type: String
Default value: './build/demos/'
A string value that is used to determine what url to open in browser for preview.
Type: String
Default value: '.tpl'
A string value that is used to determine which template file to use for generate demo file..
opt = this.options(
coffee: false
js: 'js/page/'
less: 'less/page/'
lessCommonCode: ''
demo: 'demos/'
demoShowPath: './build/demos/'
tplPath: '.tpl'
)
welcome!
FAQs
Help build the new Webpage project, static resource automatic generation of page demo file and dependence (optional without JS file). Once to initialize grunt, open the default browser to observe the compiled Demo. At the same time will automatically star
The npm package grunt-webpage-scaffold receives a total of 1 weekly downloads. As such, grunt-webpage-scaffold popularity was classified as not popular.
We found that grunt-webpage-scaffold demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.