mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-09-28 13:13:37 +08:00
Since we have the major version jump, we needed to update quite
a few things to make this work:
1. rollup4 ships with native binaries. We can't check them into
our node_modules for all platforms. Luckily they also ship a
a wasm version. This requires us to adjust the 'binary' path
to `node_modules/@rollup/wasm-node/dist/bin/rollup` instead.
2. rollup4 is more strict when it comes to ES modules vs
CommonJS. We adjust this by renaming the rollup config files.
3. Some plugins got deprecated so we had to replace them with
the newer versions (source maps and terser).
Bug: None
Change-Id: If13d590c8185db6ad85b3992d0a869111909dc8c
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/5999255
Commit-Queue: Simon Zünd <szuend@chromium.org>
Reviewed-by: Alex Rudenko <alexrudenko@chromium.org>
72 lines
1.9 KiB
JSON
72 lines
1.9 KiB
JSON
{
|
|
"name": "smob",
|
|
"version": "1.5.0",
|
|
"description": "Zero dependency library to safe merge objects.",
|
|
"main": "dist/index.cjs",
|
|
"module": "dist/index.mjs",
|
|
"types": "dist/index.d.ts",
|
|
"exports": {
|
|
"./package.json": "./package.json",
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.mjs",
|
|
"require": "./dist/index.cjs"
|
|
}
|
|
},
|
|
"files": [
|
|
"dist/"
|
|
],
|
|
"scripts": {
|
|
"build:types": "tsc --emitDeclarationOnly",
|
|
"build:js": "rollup -c",
|
|
"build": "rimraf dist && npm run build:types && npm run build:js",
|
|
"commit": "npx git-cz",
|
|
"lint": "eslint --ext .js,.ts ./src",
|
|
"lint:fix": "npm run lint -- --fix",
|
|
"test": "cross-env NODE_ENV=test jest --config ./test/jest.config.js",
|
|
"test:coverage": "npm run test -- --coverage",
|
|
"prepare": "npx husky install",
|
|
"prepublishOnly": "npm run build"
|
|
},
|
|
"author": {
|
|
"name": "Peter Placzek",
|
|
"email": "contact@tada5hi.net",
|
|
"url": "https://github.com/tada5hi"
|
|
},
|
|
"license": "MIT",
|
|
"keywords": [
|
|
"object",
|
|
"object-merge",
|
|
"merge",
|
|
"safe",
|
|
"deep-merge",
|
|
"merge-deep"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/Tada5hi/smob.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/Tada5hi/smob/issues"
|
|
},
|
|
"homepage": "https://github.com/Tada5hi/smob#readme",
|
|
"devDependencies": {
|
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
"@swc/core": "^1.4.11",
|
|
"@swc/jest": "^0.2.29",
|
|
"@tada5hi/commitlint-config": "^1.2.0",
|
|
"@tada5hi/eslint-config-typescript": "^1.2.10",
|
|
"@tada5hi/semantic-release": "^0.3.1",
|
|
"@tada5hi/tsconfig": "^0.5.1",
|
|
"@types/jest": "^29.5.3",
|
|
"@types/node": "^20.10.4",
|
|
"cross-env": "^7.0.3",
|
|
"eslint": "^8.57.0",
|
|
"husky": "^9.0.11",
|
|
"jest": "^29.6.1",
|
|
"rollup": "^4.13.2",
|
|
"semantic-release": "^23.0.6",
|
|
"typescript": "^5.4.3"
|
|
}
|
|
}
|