library-boilerplate/package.json

57 lines
1.4 KiB
JSON
Raw Normal View History

2020-08-28 14:32:14 +07:00
{
"name": "lib-name",
"version": "1.0.0",
"description": "lib-description",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"author": "SL",
"license": "MIT",
"private": false,
2020-08-28 15:58:25 +07:00
"keywords": ["javascript","typescript", "boilerplate","library"],
2020-08-28 15:40:28 +07:00
"repository": {
"url": "https://git.cubetiqs.com/s.long/js-lib-boilerplate"
},
2020-08-28 14:32:14 +07:00
"scripts": {
"build": "tsc",
"test": "jest",
2020-08-28 15:36:20 +07:00
"build:test": "yarn jest && yarn build",
2020-08-28 16:05:36 +07:00
"publish": "yarn build:test && npm publish --registry https://npm.osa.cubetiqs.com",
2020-08-28 15:36:20 +07:00
"run:example": "cd example && yarn start"
2020-08-28 14:32:14 +07:00
},
"devDependencies": {
"@babel/core": "^7.11.4",
"@babel/preset-env": "^7.11.0",
"@babel/preset-typescript": "^7.10.4",
"@types/jest": "^26.0.10",
"@types/node": "^14.6.1",
"@typescript-eslint/eslint-plugin": "^3.10.1",
"@typescript-eslint/parser": "^3.10.1",
"babel-jest": "^26.3.0",
"eslint": "^7.7.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.4",
"husky": "^4.2.5",
"jest": "^26.4.2",
"lint-staged": "^10.2.13",
"prettier": "^2.1.1",
"ts-jest": "^26.3.0",
"tsc": "^1.20150623.0",
"typescript": "^4.0.2"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
"eslint --fix"
],
"test/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
"eslint --fix"
]
}
}