UNPKG

sass-loader

Version:
117 lines (116 loc) 3.87 kB
{ "name": "sass-loader", "version": "17.0.0", "description": "Sass loader for webpack", "keywords": [ "sass", "libsass", "webpack", "loader" ], "homepage": "https://github.com/webpack/sass-loader", "bugs": "https://github.com/webpack/sass-loader/issues", "repository": "webpack/sass-loader", "funding": { "type": "opencollective", "url": "https://opencollective.com/webpack" }, "license": "MIT", "author": "J. Tangelder", "type": "module", "exports": { ".": { "types": "./types/index.d.ts", "import": "./dist/esm/index.js", "require": "./dist/cjs/index.js", "default": "./dist/esm/index.js" }, "./package.json": "./package.json" }, "main": "./dist/cjs/index.js", "module": "./dist/esm/index.js", "types": "./types/index.d.ts", "files": [ "dist", "types" ], "scripts": { "clean": "del-cli dist types", "prebuild": "npm run clean", "build:esm": "babel src -d dist/esm --env-name esm --copy-files --no-copy-ignored", "build:cjs": "babel src -d dist/cjs --env-name cjs --copy-files --no-copy-ignored && node -e \"const fs=require('fs');fs.writeFileSync('dist/cjs/package.json','{\\\"type\\\":\\\"commonjs\\\"}\\n');fs.appendFileSync('dist/cjs/index.js','module.exports = exports.default;\\nmodule.exports.default = exports.default;\\n')\"", "build:types": "tsc && prettier \"types/**/*.ts\" --write", "build": "npm-run-all -p \"build:*\"", "security": "npm audit --production", "lint": "npm-run-all -l -p \"lint:**\" && npm run fmt:check", "lint:code": "eslint --cache .", "lint:spelling": "cspell --cache --no-must-find-files --quiet \"**/*.*\"", "lint:types": "tsc --pretty --noEmit", "fmt": "npm run fmt:check -- --write", "fmt:check": "prettier --list-different --cache --ignore-unknown .", "fix": "npm run fix:code && npm run fmt", "fix:code": "npm run lint:code -- --fix", "pretest": "npm run lint", "test": "npm run test:base", "test:base": "node --import ./test/setup-snapshots.js --test --test-force-exit --test-reporter=dot --test-reporter-destination=stdout --experimental-test-module-mocks", "test:coverage": "npm run test:base -- --experimental-test-coverage --test-reporter=lcov --test-reporter-destination=coverage.lcov --test-coverage-include=\"src/**/*.js\"", "prepare": "husky && npm run build", "version": "changeset version", "release": "npm run build && changeset publish" }, "dependencies": {}, "devDependencies": { "@babel/cli": "^7.28.6", "@babel/core": "^7.28.6", "@babel/preset-env": "^7.28.6", "@changesets/cli": "^2.30.0", "@changesets/get-github-info": "^0.8.0", "@types/node": "^22.13.4", "bootstrap-sass": "^3.4.1", "bootstrap-v4": "npm:bootstrap@^4.5.3", "bootstrap-v5": "npm:bootstrap@^5.3.8", "cspell": "^10.0.0", "css-loader": "^7.1.4", "del": "^8.0.1", "del-cli": "^7.0.0", "enhanced-resolve": "^5.21.5", "eslint": "^9.38.0", "eslint-config-webpack": "^4.9.6", "file-loader": "^6.2.0", "foundation-sites": "^6.7.5", "husky": "^9.1.3", "lint-staged": "^17.0.5", "material-components-web": "^9.0.0", "memfs": "^4.57.2", "npm-run-all": "^4.1.5", "prettier": "^3.8.3", "sass": "^1.99.0", "sass-embedded": "^1.99.0", "style-loader": "^4.0.0", "typescript": "^6.0.3", "webpack": "^5.106.2" }, "peerDependencies": { "@rspack/core": "0.x || ^1.0.0 || ^2.0.0-0", "sass": "^1.3.0", "sass-embedded": "*", "webpack": "^5.0.0" }, "peerDependenciesMeta": { "@rspack/core": { "optional": true }, "sass": { "optional": true }, "sass-embedded": { "optional": true }, "webpack": { "optional": true } }, "engines": { "node": ">= 22.11.0" } }