-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
150 lines (150 loc) · 4.95 KB
/
package.json
File metadata and controls
150 lines (150 loc) · 4.95 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
{
"name": "postcss-composer",
"version": "0.1.2",
"author": "Ilham Khoeri <ilkhoeri@gmail.com> (https://github.com/ilkhoeri)",
"repository": {
"type": "git",
"url": "git+https://github.com/ilkhoeri/postcss-composer.git"
},
"main": "./lib/composer.js",
"module": "./lib/composer.mjs",
"dependencies": {
"culori": "^4.0.1"
},
"peerDependencies": {
"postcss": ">=8.2.14",
"postcss-mixins": ">=9.0.4",
"postcss-nested": ">=7.0.2",
"postcss-values-parser": ">=6.0.2"
},
"devDependencies": {
"@babel/core": "^7.26.0",
"@babel/preset-env": "^7.26.0",
"@babel/preset-typescript": "^7.26.0",
"@jest/globals": "^29.7.0",
"@rollup/plugin-typescript": "^12.1.2",
"@swc/core": "^1.10.11",
"@swc/jest": "^0.2.37",
"@types/culori": "^4.0.0",
"@types/jest": "^29.5.14",
"@types/node": "^22.10.7",
"@typescript-eslint/eslint-plugin": "^8.21.0",
"@typescript-eslint/parser": "^8.21.0",
"babel-jest": "^29.7.0",
"chalk": "^5.4.1",
"dependency-cruiser": "^16.9.0",
"eslint": "^9.18.0",
"eslint-config-prettier": "^10.0.1",
"eslint-plugin-ban": "^2.0.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-unused-imports": "^4.1.4",
"husky": "^9.1.7",
"jest": "^29.7.0",
"nodemon": "^3.1.9",
"ora": "^8.1.1",
"prettier": "^3.3.3",
"rollup": "^4.31.0",
"ts-jest": "^29.2.5",
"tslib": "^2.8.1",
"tsx": "^4.19.2",
"typescript": "^5.7.3",
"vitest": "^3.0.4"
},
"exports": {
".": {
"require": "./lib/composer.js",
"import": "./lib/composer.mjs"
},
"./package.json": "./package.json"
},
"bugs": {
"url": "https://github.com/ilkhoeri/postcss-composer/issues"
},
"description": "A PostCSS plugin that provides composable utilities for styling components with custom themes, responsive units, and safe mixin-based variants — Made for scalable UI design.",
"files": [
"/lib"
],
"funding": [
{
"type": "sponsors",
"url": "https://github.com/sponsors/ilkhoeri"
},
{
"type": "opencollective",
"url": "https://opencollective.com/oeri"
},
{
"type": "individual",
"url": "https://saweria.co/ilkhoeri"
}
],
"homepage": "https://ilkhoeri.github.io/postcss-composer",
"keywords": [
"oeri",
"ui",
"css",
"postcss",
"mixin",
"plugin",
"tailwind",
"tailwindcss",
"css3",
"composer",
"postcss-composer",
"colors"
],
"license": "MIT",
"lint-staged": {
"src/*.ts": [
"eslint --cache --fix",
"prettier --ignore-unknown --write"
],
"*.md": [
"prettier --ignore-unknown --write"
]
},
"scripts": {
"prettier:fix": "prettier --write src deno *.md --ignore-unknown --no-error-on-unmatched-pattern",
"prettier:check": "prettier --check src deno *.md --no-error-on-unmatched-pattern",
"prettier": "yarn prettier:fix && yarn prettier:check",
"lint:check": "eslint --cache src",
"lint:fix": "eslint --cache --fix src",
"check": "yarn lint:check && yarn prettier:check",
"fix": "yarn lint:fix && yarn prettier:fix",
"clean": "rm -rf lib/* deno/lib/*",
"build": "yarn clean && yarn build:cjs && yarn build:esm && yarn build:deno && yarn prettier && yarn minify",
"build:deno": "tsx ./script/info.ts deno && node ./configs/deno-build.mjs && cp ./README.md ./deno/lib",
"build:esm": "tsx ./script/info.ts esm && rollup --config ./configs/rollup.config.mjs --compact",
"build:cjs": "tsx ./script/info.ts cjs && tsc -p ./configs/tsconfig.cjs.json",
"build:types": "tsc -p ./configs/tsconfig.types.json",
"build:test": "tsc -p ./configs/tsconfig.test.json",
"test:watch": "yarn test:ts-jest --watch",
"test": "yarn test:ts-jest",
"test:all": "yarn test:babel && yarn test:jest && yarn test:ts-jest && yarn test:swc && yarn test:bun && yarn test:vitest && yarn test:deno",
"test:babel": "jest --coverage --config ./configs/babel-jest.config.json",
"test:bun": "bun test __tests__/",
"test:vitest": "npx vitest --config ./configs/vitest.config.ts",
"test:ts-jest": "npx jest --config ./configs/ts-jest.config.json",
"test:jest": "jest --coverage",
"test:swc": "npx jest --config ./configs/swc-jest.config.json",
"test:deno": "cd deno && deno test",
"test:deno:test": "deno test ./deno/_tests",
"prepare:test": "husky .husky/pre-publish \"yarn test\"",
"prepare:husky": "husky",
"prepublishOnly:deprecated": "npm run test && npm run build && npm run build:deno",
"jsr:publish": "yarn prettier && cd deno/lib && npx jsr publish",
"lint": "eslint src --cache",
"format": "prettier src",
"typecheck": "tsc --noEmit",
"play": "nodemon -e ts -w . -x tsx playground.ts",
"depcruise": "depcruise -c .dependency-cruiser.js src",
"minify": "tsx ./script/minify.ts"
},
"sideEffects": false,
"support": {
"backing": {
"npm-funding": true
}
}
}