{ "name": "compiled", "version": "0.0.0", "private": true, "license": "Apache-2.0", "author": "Michael Dougall", "workspaces": [ "examples/*", "fixtures/*", "packages/*" ], "scripts": { "benchmark": "jest --config benchmark.config.json", "build": "yarn build:babel-fixture && yarn build:browser && yarn build:cjs && yarn build:esm && yarn postbuild", "postbuild": "scripts/postbuild.sh", "build:babel-fixture": "yarn workspace @compiled/babel-component-fixture build && yarn workspace @compiled/babel-component-extracted-fixture build", "build:browser": "ttsc --build packages/tsconfig.browser.json", "build:cjs": "ttsc --build packages/tsconfig.json", "build:esm": "ttsc --build packages/tsconfig.esm.json && node scripts/validate-esm-js-extensions.js", "build:inspect": "node --inspect-brk node_modules/typescript/lib/tsc.js --build packages", "build:parcel": "ttsc --build examples/parcel/tsconfig.json && yarn workspace @compiled/parcel-app build", "build:ssr": "CI=false && ttsc --build examples/ssr/tsconfig.json && yarn workspace @compiled/ssr-app build", "build:storybook": "build-storybook", "build:vite": "yarn workspace @compiled/vite-app build", "build:webpack": "yarn build:babel-fixture && ttsc --build examples/webpack/tsconfig.json && yarn workspace @compiled/webpack-app build", "build:webpack:extract": "EXTRACT_TO_CSS=true yarn build:webpack", "bundlesize": "yarn build && size-limit", "clean": "yarn clean:node-modules && yarn clean:ts-cache && yarn clean:dist && yarn clean:parcel-cache && yarn website:clean", "clean:dist": "find . -name \"dist\" -not -path \"*/node_modules/*\" -type d -exec rm -rf {} +", "clean:node-modules": "rm -rf node_modules/.cache", "clean:parcel-cache": "rm -rf .parcel-cache/", "clean:ts-cache": "find . -name \"*.tsbuildinfo\" -type f -delete", "postinstall": "scripts/postinstall.sh", "lint": "eslint --config .eslintrc.js --ext js,json,jsx,ts,tsx .", "lint:fix": "yarn lint -- --fix", "prettier:check": "prettier ./ --check", "prettier:fix": "prettier ./ --write", "release": "yarn clean && yarn build && yarn changeset publish", "start": "npx nodemon --exec \"start-storybook -p 6006 --ci\" --watch packages/babel-plugin/ -e tsx", "start:inspect": "npx nodemon --exec \"node --inspect-brk node_modules/.bin/start-storybook -p 6006 --ci\" --watch packages/babel-plugin/ -e tsx", "start:parcel": "ttsc --build examples/parcel/tsconfig.json && yarn workspace @compiled/parcel-app start", "start:prod": "NODE_ENV=production yarn start", "start:ssr": "ttsc --build examples/ssr/tsconfig.json && yarn workspace @compiled/ssr-app start", "start:vite": "ttsc --build examples/vite/tsconfig.json && yarn workspace @compiled/vite-app dev", "start:webpack": "yarn build:babel-fixture && ttsc --build examples/webpack/tsconfig.json && yarn workspace @compiled/webpack-app start", "start:webpack:extract": "EXTRACT_TO_CSS=true yarn start:webpack", "test": "jest --no-cache", "test:cover": "yarn test --collectCoverage", "test:imports": "node test/test-imports", "test:parcel": "jest --testMatch '**/src/**/*.parceltest.{ts,tsx}' --testEnvironment=node", "test:vr": "yarn loki --host host.docker.internal", "test:watch": "jest --no-cache --watch", "website:build": "cd website/ && NODE_ENV=production yarn build", "website:clean": "cd website/ && yarn clean" }, "husky": { "hooks": { "pre-commit": " yarn lint:fix && pretty-quick --staged" } }, "resolutions": { "@babel/types": "7.26.10", "@types/eslint-scope": "*", "@types/estree": "1.0.5", "@types/react": "^18.3.1", "@types/react-dom": "^18.3.1", "css-what": ">=6.1.0", "csstype": "3.2.3", "nth-check": ">=2.1.1", "postcss": "8.4.31", "semver": "^7.6.3", "typescript": "^4.9.5" }, "dependencies": {}, "devDependencies": { "@babel/preset-env": "^7.26.9", "@babel/preset-react": "^7.26.3", "@babel/preset-typescript": "^7.26.0", "@changesets/cli": "^2.28.1", "@compiled-private/module-a": "*", "@compiled/babel-plugin": "*", "@compiled/jest": "*", "@compiled/react": "*", "@size-limit/preset-big-lib": "^8.1.2", "@storybook/addons": "^6.5.16", "@storybook/builder-webpack5": "^6.5.16", "@storybook/manager-webpack5": "^6.5.16", "@storybook/react": "^6.5.16", "@types/eslint": "^8.56.12", "@types/jest": "^27.5.2", "@types/node": "^18.17.14", "@types/react": "^18.3.1", "@types/react-dom": "^18.3.1", "@types/svgo": "^2.6.4", "@typescript-eslint/eslint-plugin": "^6.21.0", "@typescript-eslint/parser": "^6.21.0", "@typescript-eslint/utils": "^6.21.0", "babel-loader": "^9.1.2", "csstype": "^3.2.3", "eslint": "^8.57.1", "eslint-plugin-import": "^2.32.0", "eslint-plugin-json-files": "^2.2.0", "eslint-plugin-react": "^7.37.5", "eslint-plugin-react-hooks": "^4.6.2", "husky": "^4.3.8", "jest": "^29.4.3", "jest-environment-jsdom": "^29.4.3", "jest-extended": "^0.11.5", "jest-watch-typeahead": "^0.6.5", "loki": "^0.35.1", "prettier": "^2.8.8", "pretty-quick": "^3.1.3", "react": "^18.3.1", "react-dom": "^18.3.1", "size-limit": "^8.1.2", "storybook-addon-performance": "^0.16.1", "storybook-addon-pseudo-states": "^1.15.5", "ts-node": "^10.9.2", "ts-transform-define": "^0.1.10", "tsconfig-paths": "^4.1.2", "ttypescript": "^1.5.15", "typescript": "^4.9.5", "typescript6": "npm:typescript@6.0.3", "workspaces-run": "^1.0.2" }, "engines": { "node": "^14.15.0 || ^16.10.0 || >=18.0.0" }, "loki": { "configurations": { "chrome.laptop": { "target": "chrome.docker", "width": 1366, "height": 768, "deviceScaleFactor": 1, "mobile": false } } }, "packageManager": "yarn@1.22.22", "size-limit": [ { "path": "./packages/react/dist/browser/runtime/css-custom-property.js", "limit": "50B", "import": "ix" }, { "path": "./packages/react/dist/browser/runtime/ax.js", "limit": "171B", "import": "ax" }, { "path": "./packages/react/dist/browser/runtime/style.js", "limit": "1200B", "import": "CS", "ignore": [ "react" ] }, { "path": "./packages/react/dist/browser/runtime/style-cache.js", "limit": "118B", "import": "CC", "ignore": [ "react" ] } ] }