Clean up package.json (#1083)
* Remove unnecessary metadata from package.json * Remove homepage field, sort keys
This commit is contained in:
parent
051a946438
commit
2f1b706318
4
package-lock.json
generated
4
package-lock.json
generated
@ -1,8 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "excalidraw",
|
|
||||||
"version": "1.0.0",
|
|
||||||
"lockfileVersion": 1,
|
|
||||||
"requires": true,
|
"requires": true,
|
||||||
|
"lockfileVersion": 1,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/code-frame": {
|
"@babel/code-frame": {
|
||||||
"version": "7.8.3",
|
"version": "7.8.3",
|
||||||
|
34
package.json
34
package.json
@ -50,10 +50,8 @@
|
|||||||
"rewire": "5.0.0",
|
"rewire": "5.0.0",
|
||||||
"typescript": "3.8.3"
|
"typescript": "3.8.3"
|
||||||
},
|
},
|
||||||
"jest": {
|
"engines": {
|
||||||
"transformIgnorePatterns": [
|
"node": ">=12.0.0"
|
||||||
"node_modules/(?!(roughjs|browser-nativefs)/)"
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
"eslintConfig": {
|
"eslintConfig": {
|
||||||
"extends": [
|
"extends": [
|
||||||
@ -87,19 +85,22 @@
|
|||||||
"prettier/prettier": "warn"
|
"prettier/prettier": "warn"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"homepage": ".",
|
|
||||||
"husky": {
|
"husky": {
|
||||||
"hooks": {
|
"hooks": {
|
||||||
"pre-commit": "lint-staged"
|
"pre-commit": "lint-staged"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"main": "src/index.js",
|
"jest": {
|
||||||
"name": "excalidraw",
|
"transformIgnorePatterns": [
|
||||||
|
"node_modules/(?!(roughjs|browser-nativefs)/)"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build:app": "react-scripts build",
|
|
||||||
"build:zip": "node ./scripts/build-version.js",
|
|
||||||
"build": "npm run build:app && npm run build:zip",
|
"build": "npm run build:app && npm run build:zip",
|
||||||
"build-node": "node ./scripts/build-node.js",
|
"build-node": "node ./scripts/build-node.js",
|
||||||
|
"build:app": "react-scripts build",
|
||||||
|
"build:zip": "node ./scripts/build-version.js",
|
||||||
"eject": "react-scripts eject",
|
"eject": "react-scripts eject",
|
||||||
"fix": "npm run fix:other && npm run fix:code",
|
"fix": "npm run fix:other && npm run fix:code",
|
||||||
"fix:code": "npm run test:code -- --fix",
|
"fix:code": "npm run test:code -- --fix",
|
||||||
@ -108,18 +109,9 @@
|
|||||||
"start": "react-scripts start",
|
"start": "react-scripts start",
|
||||||
"test": "npm run test:app",
|
"test": "npm run test:app",
|
||||||
"test:app": "react-scripts test --env=jsdom --passWithNoTests",
|
"test:app": "react-scripts test --env=jsdom --passWithNoTests",
|
||||||
"test:debug": "react-scripts --inspect-brk test --runInBand --no-cache",
|
|
||||||
"test:code": "eslint --max-warnings=0 --ignore-path .gitignore --ext .js,.ts,.tsx .",
|
"test:code": "eslint --max-warnings=0 --ignore-path .gitignore --ext .js,.ts,.tsx .",
|
||||||
"test:typecheck": "tsc",
|
"test:debug": "react-scripts --inspect-brk test --runInBand --no-cache",
|
||||||
"test:other": "npm run prettier -- --list-different"
|
"test:other": "npm run prettier -- --list-different",
|
||||||
},
|
"test:typecheck": "tsc"
|
||||||
"version": "1.0.0",
|
|
||||||
"license": "MIT",
|
|
||||||
"repository": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://github.com/excalidraw/excalidraw.git"
|
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": ">=12.0.0"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user