UNPKG

stylus-loader

Version:
110 lines (109 loc) 3.74 kB
{ "name": "stylus-loader", "version": "9.0.0", "description": "Stylus loader for webpack", "keywords": [ "webpack", "loader", "stylus" ], "homepage": "https://github.com/webpack/stylus-loader", "bugs": "https://github.com/webpack/stylus-loader/issues", "repository": "webpack/stylus-loader", "funding": { "type": "opencollective", "url": "https://opencollective.com/webpack" }, "license": "MIT", "author": "Kyle Robinson Young <kyle@dontkry.com> (http://dontkry.com)", "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": { "@types/stylus": "^0.48.43", "normalize-path": "^3.0.0", "tinyglobby": "^0.2.12" }, "devDependencies": { "@babel/cli": "^7.24.7", "@babel/core": "^7.24.7", "@babel/preset-env": "^7.24.7", "@changesets/cli": "^2.30.0", "@changesets/get-github-info": "^0.8.0", "@types/node": "^22.19.19", "@types/normalize-path": "^3.0.2", "benchmark": "^2.1.4", "bootstrap-styl": "^5.0.9", "cspell": "^10.0.0", "css-loader": "^7.1.2", "del": "^8.0.1", "del-cli": "^7.0.0", "eslint": "^9.32.0", "eslint-config-webpack": "^4.4.2", "husky": "^9.1.3", "lint-staged": "^17.0.5", "memfs": "^4.9.3", "nib": "^1.1.2", "npm-run-all": "^4.1.5", "prettier": "^3.3.2", "raw-loader": "^4.0.2", "style-loader": "^4.0.0", "stylus": "^0.64.0", "typescript": "^6.0.3", "webpack": "^5.101.0" }, "peerDependencies": { "@rspack/core": "0.x || ^1.0.0 || ^2.0.0-0", "stylus": ">=0.52.4", "webpack": "^5.0.0" }, "peerDependenciesMeta": { "@rspack/core": { "optional": true }, "webpack": { "optional": true } }, "engines": { "node": ">= 22.11.0" } }