57 строки
2.1 KiB
JSON
57 строки
2.1 KiB
JSON
{
|
|
"name": "@sds/project",
|
|
"private": true,
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"postinstall": "husky install",
|
|
"clean": "yarn workspaces foreach -pv run clean",
|
|
"test": "yarn workspaces foreach -Apiv run test",
|
|
"build": "yarn workspaces foreach -ivt run build",
|
|
"start": "yarn workspaces foreach -piv run start",
|
|
"lint:check": "eslint \"./packages/*/src/**/*.{js,jsx,ts,tsx}\"",
|
|
"lint": "eslint --fix \"./packages/*/src/**/*.{js,jsx,ts,tsx}\"",
|
|
"format:check": "prettier --check \"./packages/*/src/**/*.{js,jsx,ts,tsx}\"",
|
|
"format": "prettier --write \"./packages/*/src/**/*.{js,jsx,ts,tsx}\"",
|
|
"build:lib-wasm": "cd packages/lib-wasm && wasm-pack build --release --target web --out-dir ../../target/wasm && replace \"sds-wasm\" \"@essex/sds-core\" ../../target/wasm/package.json",
|
|
"rebuild-all": "cargo clean && run-s clean && cargo build --release && run-s build:lib-wasm && yarn install && run-s build",
|
|
"git:precommit": "lint-staged",
|
|
"git:ci": "run-s format:check lint:check test build",
|
|
"release:wasm": "npm-publish --access public --token ${NPM_TOKEN} ./target/wasm/package.json",
|
|
"release": "run-p release:wasm"
|
|
},
|
|
"prettier": "@essex/prettier-config",
|
|
"devDependencies": {
|
|
"@essex/eslint-config": "^20.3.5",
|
|
"@essex/eslint-plugin": "^20.3.8",
|
|
"@essex/jest-config": "^21.0.13",
|
|
"@essex/prettier-config": "^18.0.2",
|
|
"@essex/scripts": "^22.0.5",
|
|
"@jsdevtools/npm-publish": "^1.4.3",
|
|
"@types/eslint": "^8.4.5",
|
|
"@types/prettier": "^2.7.0",
|
|
"@typescript-eslint/eslint-plugin": "^5.33.1",
|
|
"@typescript-eslint/parser": "^5.33.1",
|
|
"eslint": "^8.22.0",
|
|
"eslint-import-resolver-node": "^0.3.6",
|
|
"eslint-plugin-header": "^3.1.1",
|
|
"eslint-plugin-import": "^2.26.0",
|
|
"eslint-plugin-jest": "^26.8.3",
|
|
"eslint-plugin-jsx-a11y": "^6.6.1",
|
|
"eslint-plugin-react": "^7.30.1",
|
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
"eslint-plugin-simple-import-sort": "^7.0.0",
|
|
"husky": "^8.0.1",
|
|
"lint-staged": "^13.0.3",
|
|
"npm-run-all": "^4.1.5",
|
|
"prettier": "^2.7.1",
|
|
"replace": "^1.2.1",
|
|
"typescript": "^4.7.4"
|
|
},
|
|
"workspaces": [
|
|
"packages/webapp",
|
|
"packages/components",
|
|
"target/wasm"
|
|
],
|
|
"packageManager": "yarn@3.2.2"
|
|
}
|