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

@aptuitiv/website-build-tools

Package Overview
Dependencies
Maintainers
0
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aptuitiv/website-build-tools

Build tools to help with building and deploying websites at Aptuitiv

  • 1.18.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
127
increased by1170%
Maintainers
0
Weekly downloads
 
Created
Source

Aptuitiv website build tools

Build tools to help with building and deploying websites at Aptuitiv.

Install

We recommend installing the library globally so that you can use aptuitiv-build on the command line to run some commands.

npm i -g @aptuitiv/website-build-tools

You can also install the library for a single project:

npm i - D @aptuitiv/website-build-tools

Usage

There are two ways to call the build tools.

The first, and recommended way is to call this from the scripts section of your package.json file.

"scripts": {
    "start": "npm run watch",
    "pull-templates": "aptuitiv-build pull-templates",
    "push-templates": "aptuitiv-build push-templates",
    "watch": "aptuitiv-build watch"
}

See the Package.json page for a full list of recommended scripts.

The other way is using the command line.

aptuitiv-build pull-template

Expected project structure

These build tools expect the following project structure:

  • build - The folder that the CSS, Javscript, templates and other assets are built to. The contents of this folder are uploaded to the website via FTP.
  • src - The source folder for the CSS, Javascript, template, and other assets.
    • config The folder holding the theme configuration files
    • css The CSS files for the project.
    • fonts Any self-hosted fonts needed for the project.
    • icons Any SVG icons to complile into a sprite.
    • js Any Javascript files for the project.
    • templates The Twig template files.
  • .aptuitiv-buildrc.js - The configuration file for the build tools.
  • .env - The environment file that holds the FTP credentials.

You can configure different paths for your assets in the configuration file, but we recommend keeping this structure for consistency between projects.

While not required for the build tools, is recommended that you also have the following configuration files in the root of your project.

  • .editorconfig
  • .gitignore
  • .prettierignore
  • .prettierrc.cjs

More information

FAQs

Package last updated on 14 Feb 2025

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

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