-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathpackage.json
More file actions
130 lines (130 loc) · 5.43 KB
/
Copy pathpackage.json
File metadata and controls
130 lines (130 loc) · 5.43 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
{
"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",
"canary:release": "lerna publish -y --canary --preid canary --dist-tag=canary --exact --force-publish=* --no-push",
"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"
}
}