70 lines
1.9 KiB
JSON
70 lines
1.9 KiB
JSON
{
|
|
"name": "@flare/js-utils",
|
|
"version": "1.0.3",
|
|
"description": "Javascript utils",
|
|
"author": {
|
|
"name": "Tudor Stanciu",
|
|
"email": "tudor.stanciu94@gmail.com",
|
|
"url": "https://lab.code-rove.com/tsp"
|
|
},
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://lab.code-rove.com/gitea/bricks/js-utils"
|
|
},
|
|
"keywords": [
|
|
"flare",
|
|
"js-utils"
|
|
],
|
|
"main": "./src/index.js",
|
|
"babel": {
|
|
"presets": [
|
|
"@babel/preset-env"
|
|
]
|
|
},
|
|
"scripts": {
|
|
"prebuild": "rimraf build",
|
|
"build": "npm run build:cjs && npm run build:copy-files",
|
|
"build:cjs": "babel src -d build --copy-files",
|
|
"build:copy-files": "node ./scripts/copy-files.js",
|
|
"precommit": "lint-staged",
|
|
"prepare": "husky install",
|
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
"prepush": "npm run build",
|
|
"push": "cd build && npm publish --registry https://lab.code-rove.com/public-node-registry",
|
|
"push:major": "npm run version:major && npm run push",
|
|
"push:minor": "npm run version:minor && npm run push",
|
|
"push:patch": "npm run version:patch && npm run push",
|
|
"version:major": "npm version major --no-git-tag-version",
|
|
"version:minor": "npm version minor --no-git-tag-version",
|
|
"version:patch": "npm version patch --no-git-tag-version"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.16.7",
|
|
"@babel/core": "^7.16.7",
|
|
"@babel/node": "^7.16.7",
|
|
"@babel/preset-env": "^7.16.7",
|
|
"rimraf": "^3.0.2",
|
|
"fs-extra": "^10.0.0",
|
|
"husky": "^7.0.4",
|
|
"lint-staged": "^12.2.2",
|
|
"prettier": "^2.5.1"
|
|
},
|
|
"prettier": {
|
|
"trailingComma": "none",
|
|
"tabWidth": 2,
|
|
"semi": true,
|
|
"singleQuote": false,
|
|
"arrowParens": "avoid"
|
|
},
|
|
"lint-staged": {
|
|
"**/*.+(js|md|ts|css|sass|less|graphql|scss|json|vue)": [
|
|
"prettier --write",
|
|
"git add"
|
|
]
|
|
},
|
|
"publishConfig": {
|
|
"registry": "https://lab.code-rove.com/public-node-registry"
|
|
}
|
|
}
|