mirror of
https://github.com/labring/laf.git
synced 2026-01-25 16:07:45 +00:00
* chore: harmonise eslint configuration * chore: add husky,stylelint,editorconfig --------- Co-authored-by: maslow <wangfugen@126.com>
46 lines
1.1 KiB
JSON
46 lines
1.1 KiB
JSON
{
|
|
"name": "laf-client-sdk",
|
|
"version": "1.0.0-beta.12",
|
|
"description": "",
|
|
"main": "dist/commonjs/index.js",
|
|
"module": "dist/esm/index.js",
|
|
"scripts": {
|
|
"watch": "tsc -w",
|
|
"test": "mocha tests/units/*test.js",
|
|
"build": "tsc -p tsconfig.json && tsc -p tsconfig.esm.json",
|
|
"build:bundle": "webpack",
|
|
"lint": "eslint . --fix --ext .ts --ext .js",
|
|
"prepublishOnly": "npm run build"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/labring/laf.git"
|
|
},
|
|
"keywords": [
|
|
"laf",
|
|
"laf-client"
|
|
],
|
|
"author": "maslow (wangfugen@126.com)",
|
|
"license": "ISC",
|
|
"bugs": {
|
|
"url": "https://github.com/labring/laf/issues"
|
|
},
|
|
"homepage": "https://github.com/labring/laf#readme",
|
|
"dependencies": {
|
|
"axios": "^0.21.1",
|
|
"database-ql": "^1.0.0-beta.12"
|
|
},
|
|
"devDependencies": {
|
|
"clean-webpack-plugin": "^3.0.0",
|
|
"html-webpack-plugin": "^4.3.0",
|
|
"mocha": "^9.2.0",
|
|
"mongodb": "^3.6.3",
|
|
"ts-loader": "^7.0.5",
|
|
"typescript": "^3.6.2",
|
|
"webpack": "^4.43.0",
|
|
"webpack-cli": "^4.9.2"
|
|
},
|
|
"lint-staged": {
|
|
"*.{ts,js}": "eslint --fix"
|
|
}
|
|
} |