UNPKG

stylex-webpack

Version:

The another Webpack Plugin for Facebook's StyleX

112 lines (111 loc) 3.06 kB
{ "name": "stylex-webpack", "version": "0.4.13", "description": "The another Webpack Plugin for Facebook's StyleX", "homepage": "https://github.com/SukkaW/style9-webpack#readme", "repository": { "type": "git", "url": "git+https://github.com/SukkaW/stylex-webpack.git" }, "bugs": { "url": "https://github.com/SukkaW/style9-webpack/issues" }, "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist", "next" ], "exports": { "./package.json": "./package.json", ".": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }, "./next": { "types": "./dist/next.d.ts", "default": "./dist/next.js" }, "./stylex.css": "./dist/stylex.css", "./utils": { "types": "./dist/utils/index.d.ts", "import": "./dist/utils/index.mjs", "require": "./dist/utils/index.cjs", "default": "./dist/utils/index.cjs" } }, "scripts": { "prebuild": "premove dist", "build": "rollup -c rollup.config.ts --configPlugin swc3 --bundleConfigAsCjs", "lint": "eslint --format=sukka .", "test": "mocha --require @swc-node/register test/index.ts", "test:update": "UPDATE_SNAPSHOTS=true mocha --require @swc-node/register test/index.ts", "prerelease": "pnpm run build && pnpm run lint", "release": "bumpp -r --all --commit \"release: %s\" --tag \"%s\"" }, "keywords": [ "css", "atomic-css", "stylex", "css-in-js", "webpack", "nextjs", "app-router" ], "author": "Sukka <https://skk.moe>", "license": "MIT", "dependencies": { "@babel/core": "^7.29.0", "@babel/plugin-syntax-jsx": "^7.28.6", "@babel/plugin-syntax-typescript": "^7.28.6", "@types/webpack": "^5.28.5", "clsx": "^2.1.1", "foxts": "^5.3.0", "loader-utils": "^3.3.1" }, "devDependencies": { "@eslint-sukka/node": "^8.7.1", "@rollup/plugin-json": "^6.1.0", "@stylexjs/stylex": "^0.18.1", "@swc-node/register": "^1.11.1", "@swc/core": "^1.15.18", "@types/babel__core": "^7.20.5", "@types/loader-utils": "^3.0.0", "@types/mocha": "^10.0.10", "@types/node": "^22.19.15", "browserslist": "^4.28.1", "bumpp": "^10.4.1", "css-loader": "^7.1.4", "earl": "^2.0.0", "eslint": "^9.39.4", "eslint-config-sukka": "^8.7.1", "eslint-formatter-sukka": "^8.7.1", "memfs": "^4.56.11", "mini-css-extract-plugin": "^2.10.0", "mocha": "^11.7.5", "next": "^15.5.12", "postcss": "^8.5.8", "premove": "^4.0.0", "rollup": "^4.59.0", "rollup-plugin-copy": "^3.5.0", "rollup-plugin-dts": "^6.3.0", "rollup-plugin-swc3": "^0.12.1", "swc-loader": "^0.2.7", "typescript": "^5.9.3", "webpack": "^5.105.4" }, "peerDependencies": { "@stylexjs/babel-plugin": "*", "@stylexjs/stylex": "*" }, "packageManager": "pnpm@10.30.3", "pnpm": { "overrides": { "eslint>chalk": "npm:picocolors@^1.1.1" }, "onlyBuiltDependencies": [ "@swc/core", "oxc-resolver" ] } }