-
-
Notifications
You must be signed in to change notification settings - Fork 99
Expand file tree
/
Copy pathpackage.json
More file actions
109 lines (109 loc) · 3.66 KB
/
package.json
File metadata and controls
109 lines (109 loc) · 3.66 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
{
"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"
}
}