{"id":18792,"library":"skatejs-build","title":"SkateJS build","description":"A CLI tool providing common build tasks for SkateJS projects, such as bundling, testing, linting, and release management. The current stable version is 12.2.0, last released in February 2017. The package is designed to simplify project setup with opinionated defaults, including support for Webpack, Karma, ESLint, and semantic-release. Key breaking changes include removal of IE9/IE10 support and JSDOM as default test environment. However, the project appears to be in maintenance mode with no recent updates and limited community adoption.","status":"maintenance","version":"12.2.0","language":"javascript","source_language":"en","source_url":"https://github.com/skatejs/build","tags":["javascript","skatejs","build"],"install":[{"cmd":"npm install skatejs-build","lang":"bash","label":"npm"},{"cmd":"yarn add skatejs-build","lang":"bash","label":"yarn"},{"cmd":"pnpm add skatejs-build","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Build tools are tailored for SkateJS projects","package":"skatejs","optional":true}],"imports":[{"note":"CLI commands are invoked via npx or as npm scripts; no JavaScript imports.","wrong":"npm install -g skatejs-build && sk-init","symbol":"sk-init","correct":"command: npx skatejs-build sk-init"},{"note":"CLI commands are not importable; use npx or scripts.","wrong":"require('skatejs-build/sk-bundle')","symbol":"sk-bundle","correct":"command: npx skatejs-build sk-bundle"},{"note":"sk-tests is a CLI command, not a JavaScript function.","wrong":"import { skTests } from 'skatejs-build'","symbol":"sk-tests","correct":"command: npx skatejs-build sk-tests"}],"quickstart":{"code":"mkdir my-project\ncd my-project\nnpm init -y\nnpm install skatejs-build --save-dev\nnpx skatejs-build sk-init\nnpx skatejs-build sk-bundle\nnpx skatejs-build sk-tests","lang":"javascript","description":"Shows basic setup: install, init a new project with templates, bundle, and run tests."},"warnings":[{"fix":"Add polyfills for IE9/IE10 in your project's webpack config or via a polyfill service.","message":"v12.0.0 removed support for IE9 and IE10. If you need to support these, you must add polyfills manually.","severity":"breaking","affected_versions":">=12.0.0"},{"fix":"Run 'sk-init' to generate a browsers file, or configure Karma manually.","message":"v11.0.0 removed JSDOM integration. The test environment now defaults to real browsers loaded from cwd's browsers file.","severity":"breaking","affected_versions":">=11.0.0"},{"fix":"Consider alternative build tools like Webpack CLI, Karma, or semantic-release directly.","message":"The package has not been updated since February 2017 and may not work with modern tooling (e.g., Node.js >=12, Webpack 4/5).","severity":"deprecated","affected_versions":"*"},{"fix":"Use as CLI commands: 'npx skatejs-build <command>' or add to package.json scripts.","message":"Commands like sk-bundle and sk-tests are only available via npx or npm scripts; they are not JavaScript modules and cannot be imported.","severity":"gotcha","affected_versions":"*"}],"env_vars":null,"last_verified":"2026-04-25T00:00:00.000Z","next_check":"2026-07-24T00:00:00.000Z","problems":[{"fix":"Run 'npm install skatejs-build --save-dev' and use 'npx skatejs-build <command>' or add scripts to package.json.","cause":"The package is not installed globally or not in PATH.","error":"skatejs-build: command not found"},{"fix":"Ensure 'npm init' has been run and package.json is valid before running 'sk-init'.","cause":"sk-init command may fail if package.json is missing or malformed.","error":"TypeError: Cannot read property 'replace' of undefined"},{"fix":"Use CLI commands via npx or npm scripts; the package is not meant to be imported programmatically.","cause":"Attempting to require or import the package as a JavaScript module instead of using CLI.","error":"Module not found: Error: Can't resolve 'skatejs-build'"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}