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.
org.webjars.npm:github-com-salesforce-ux-design-system
Advanced tools
Welcome to the Salesforce Lightning Design System brought to you by Salesforce UX.
gem install bundler
npm install
npm start
Having trouble getting these steps to work on your machine? Follow the troubleshooting guide below.
Install gulp globally:
npm install --global gulp
gulp
Generate and run the Lightning Design System.
gulp serve
Run the lightning design system.
Faster than gulp
, as it won't re-generate the whole site before starting the server. Useful when mainly working on styles.
gulp lint
Lint the code base for syntax and stylistic errors.
# Lint indentation, Sass, JavaScript files
gulp lint
# Lint languages independently
gulp lint:sass
gulp lint:js
gulp lint:js:test
gulp lint:spaces
gulp lint:html
gulp lint:vnu (optional: --component "{trees_base_with*,trees_base_deep*}")
gulp pages
: generate the site’s pages.
gulp styles
: compile Sass to CSS.
gulp clean
Delete temporary build and local files.
npm run stats
: Useful stats about the project's deliverables.
npm test
: run all tests
The Salesforce Lightning Design System uses npm
to manage dependencies. Please install Node.js, and try running npm install
again.
If Node.js is already installed, make sure you’re running v6 or up.
Ruby comes pre-installed on macOS. For other systems, check https://www.ruby-lang.org.
If gem install bundler
fails, run sudo gem install bundler
and try running npm install
again.
JavaScript dependencies sometimes get out of sync and inexplicable bugs start to happen. Follow these steps to give a fresh start to your development environment:
npm
version must be at least v3.10. You can update your npm with: npm install npm -g
(sudo
may be required).rm -Rf node_modules && npm install
npm start
If this did not work, try running npm cache clean
and repeat the above steps.
See CONTRIBUTING.md.
Please open a new GitHub Issue.
FAQs
WebJar for design-system
We found that org.webjars.npm:github-com-salesforce-ux-design-system demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers 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.