{ "name": "@atlaspack/monorepo", "description": "Blazing fast, zero configuration web application bundler", "license": "(MIT OR Apache-2.0)", "repository": { "type": "git", "url": "https://github.com/atlassian-labs/atlaspack.git" }, "private": true, "workspaces": [ "benchmarks/*", "crates/atlaspack_contextual_imports_swc_plugin", "crates/caniuse_database", "crates/lmdb-js-lite", "crates/atlaspack_packager_js/prelude", "packages/*/*", "packages/dev/atlaspack-inspector", "packages/dev/atlaspack-inspector/src/frontend", "scripts" ], "resolutions": { "@swc/core": "1.15.11", "react": "18.2.0", "react-dom": "18.2.0" }, "scripts": { "build": "yarn build:clean && yarn build:prepare && yarn build:gulp && yarn build:ts", "build:ci": "yarn build && node scripts/post-build-ci.mjs", "build:clean": "node ./scripts/clean.mjs", "build:prepare": "lerna run dev:prepare", "build:gulp": "cross-env NODE_ENV=production ATLASPACK_BUILD_ENV=production ATLASPACK_REGISTER_USE_SRC=true gulp", "build:ts": "yarn update-ts-references && tsc --build tsconfig.paths.json", "build-native": "node scripts/build-native.js", "build-native-release": "cross-env CARGO_PROFILE=release node scripts/build-native.js", "build-native-wasm": "cross-env CARGO_PROFILE=release RUSTUP_TARGET=wasm32-unknown-unknown scripts/build-native.js", "clean-test": "rimraf packages/core/integration-tests/.parcel-cache && rimraf packages/core/integration-tests/dist", "clean": "yarn clean-test && lerna clean --yes && lerna exec -- rimraf ./lib && yarn", "dev": "./scripts/dev", "format": "prettier --write \"./packages/*/*/{src,bin,test}/**/*.{js,json,md}\" && cargo +nightly fmt --all", "link-all": "node scripts/link-all.js packages", "unlink-all": "node scripts/unlink-all.js packages", "update-ts-references": "node scripts/update-ts-references.mjs", "lint": "node ./scripts/lint-all.mjs", "lint:feature-flags": "node ./scripts/find-unused-feature-flags.js", "prepublishOnly": "yarn pre-publish", "pre-publish": "yarn build && node ./scripts/rewrite-package-types.mjs", "changesets-publish": "yarn pre-publish && yarn changeset publish", "test": "yarn test:unit && yarn test:integration", "test:e2e": "yarn workspace @atlaspack/e2e-tests test", "test:e2e:ci": "yarn workspace @atlaspack/e2e-tests test-ci", "benchmark": "yarn workspace @atlaspack/e2e-tests benchmark", "benchmark:ci": "yarn workspace @atlaspack/e2e-tests benchmark:ci", "nx:test:integration": "yarn lerna run --stream test:integration", "nx:test:integration:ci": "yarn lerna run --stream test:integration:ci", "test:integration": "yarn workspace @atlaspack/integration-tests test", "compare-compiled-css": "node scripts/compare-compiled-css.js", "test:integration:v3": "ATLASPACK_V3=true yarn workspace @atlaspack/integration-tests test", "test:integration-ci": "yarn workspace @atlaspack/integration-tests test-ci", "test:integration-ci:v3": "ATLASPACK_V3=true yarn workspace @atlaspack/integration-tests test-ci", "test:js": "yarn test:js:unit && yarn test:integration", "test:js:coverage": "yarn nyc yarn test:js:unit", "test:js:coverage:report": "yarn nyc report --reporter=html-spa", "test:js:unit": "cross-env NODE_ENV=test ATLASPACK_REGISTER_USE_SRC=true ATLASPACK_BUILD_ENV=test mocha --timeout 5000", "test:unit": "yarn test:js:unit && cargo test", "tag:prerelease": "lerna version --exact --force-publish=* --no-git-tag-version --no-push", "tag:release": "lerna version --exact --force-publish=* --no-git-tag-version --no-push", "release": "lerna publish -y from-package --pre-dist-tag=next --no-git-tag-version --no-push", "prepare": "husky install", "postinstall": "patch-package", "type-coverage": "type-coverage -b tsconfig.paths.json" }, "devDependencies": { "@babel/core": "^7.24.9", "@babel/plugin-proposal-private-property-in-object": "^7.21.11", "@changesets/changelog-github": "^0.5.0", "@changesets/cli": "^2.27.9", "@compiled/parcel-transformer": "^0.19.2", "@napi-rs/cli": "2.18.3", "@sentry/cli": "^2.45.0", "@types/mocha": "^10.0.10", "@types/node": ">= 18", "@types/sinon": "^17.0.4", "@typescript-eslint/eslint-plugin": "^8.31.1", "@typescript-eslint/parser": "^8.31.1", "buffer": "mischnic/buffer#b8a4fa94", "cross-env": "^7.0.0", "eslint": "^8.57.0", "glob": "^7.1.6", "gulp": "^4.0.2", "gulp-babel": "^8.0.0", "husky": "^6.0.0", "lerna": "^8.2.3", "lint-staged": "^10.2.11", "mocha": "^8.3.0", "nyc": "^17.1.0", "prettier": "^3.0.0", "punycode": "^2.3.1", "rfdc": "^1.4.1", "rimraf": "^3.0.2", "semver": "^7.5.2", "sinon": "^7.3.1", "type-coverage": "^2.3.3", "typecov": "^0.2.3", "typescript": "^5.8.3", "zx": "^8.8.5" }, "engines": { "node": ">= 16.0.0" }, "lint-staged": { "*.{js,ts,jsx,tsx}": [ "prettier --write", "eslint --fix" ], "*.{json,md}": "prettier --write", "*.rs": "rustfmt" }, "packageManager": "yarn@1.22.19", "browser": { "react-dom": "preact/compat", "react": "preact/compat", "scheduler": false }, "dependencies": { "@swc/cli": "^0.7.7", "nodemon": "^3.1.9", "patch-package": "^8.0.0" } }