next-yak
Version:
next-yak is a CSS-in-JS solution tailored for Next.js that seamlessly combines the expressive power of styled-components syntax with efficient build-time extraction of CSS using Next.js's built-in CSS configuration
117 lines • 3.1 kB
JSON
{
"name": "next-yak",
"version": "5.3.1",
"type": "module",
"types": "./dist/",
"sideEffects": false,
"license": "MIT",
"description": "next-yak is a CSS-in-JS solution tailored for Next.js that seamlessly combines the expressive power of styled-components syntax with efficient build-time extraction of CSS using Next.js's built-in CSS configuration",
"homepage": "https://yak.js.org/",
"repository": {
"type": "git",
"url": "https://github.com/jantimon/next-yak.git"
},
"bugs": {
"url": "https://github.com/jantimon/next-yak/issues"
},
"keywords": [
"next.js",
"css-in-js",
"styled-components",
"react",
"typescript"
],
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./static": {
"import": "./dist/static/index.js",
"require": "./dist/static/index.cjs"
},
"./internal": {
"import": "./dist/internal.js",
"require": "./dist/internal.cjs"
},
"./withYak": {
"import": "./dist/withYak/index.js",
"require": "./dist/withYak/index.cjs"
},
"./context/baseContext": {
"import": "./dist/context/baseContext.js",
"require": "./dist/context/baseContext.cjs"
},
"./context": {
"react-server": {
"import": "./dist/context/index.server.js",
"require": "./dist/context/index.server.cjs"
},
"default": {
"import": "./dist/context/index.js",
"require": "./dist/context/index.cjs"
}
},
"./jsx-runtime": {
"require": "./dist/jsx-runtime.cjs",
"import": "./dist/jsx-runtime.js"
},
"./jsx-dev-runtime": {
"require": "./dist/jsx-dev-runtime.cjs",
"import": "./dist/jsx-dev-runtime.js"
},
"./loaders/css-loader": "./dist/loaders/css-loader.js"
},
"dependencies": {
"@babel/core": "7.26.0",
"@babel/plugin-syntax-typescript": "7.25.9",
"yak-swc": "5.3.1"
},
"devDependencies": {
"@types/babel__core": "7.20.5",
"@types/webpack": "5.28.5",
"@babel/types": "7.26.3",
"@testing-library/jest-dom": "6.6.3",
"@testing-library/react": "16.1.0",
"@types/jest": "29.5.14",
"@types/node": "22.10.2",
"@types/react": "19.0.2",
"@types/react-dom": "19.0.2",
"fast-glob": "3.3.2",
"jsdom": "25.0.1",
"next": "15.3.0",
"react": "19.0.0",
"typescript": "5.7.2",
"vite": "6.0.6",
"vitest": "2.1.8",
"tsup": "8.3.5"
},
"files": [
"dist",
"loaders",
"runtime",
"withYak",
"LICENSE"
],
"publishConfig": {
"access": "public"
},
"maintainers": [
{
"name": "Luca Schneider"
}
],
"author": {
"name": "Jan Nicklas"
},
"scripts": {
"build": "tsup",
"watch": "tsup --watch",
"test": "vitest run",
"test:snapshots": "vitest run -u",
"test:types:code": "tsc -p tsconfig.json",
"test:types:test": "tsc -p ./runtime/__tests__/tsconfig.json",
"test:watch": "vitest --watch",
"prettier": "npx prettier --write \"./{loaders,runtime,withYak}/**/*.{ts,tsx,js,jsx}\""
}
}