All checks were successful
Publish To Prod / deploy_and_publish (push) Successful in 35s
74 lines
2.7 KiB
JSON
74 lines
2.7 KiB
JSON
{
|
|
"name": "gotrue-js",
|
|
"description": "GoTrue API client for JavaScript",
|
|
"version": "0.9.29",
|
|
"author": "Mathias Biilmann Christensen",
|
|
"bugs": "https://github.com/netlify/micro-api-client-lib/issues",
|
|
"dependencies": {
|
|
"micro-api-client": "^3.2.1"
|
|
},
|
|
"devDependencies": {
|
|
"@ava/babel": "^1.0.1",
|
|
"@babel/cli": "^7.11.6",
|
|
"@babel/core": "^7.11.6",
|
|
"@babel/plugin-proposal-object-rest-spread": "^7.11.0",
|
|
"@babel/preset-env": "^7.11.5",
|
|
"@netlify/eslint-config-node": "^2.2.5",
|
|
"@typescript-eslint/eslint-plugin": "^4.0.1",
|
|
"@typescript-eslint/parser": "^4.0.1",
|
|
"ava": "^3.15.0",
|
|
"babelify": "^10.0.0",
|
|
"browserify": "^16.0.0",
|
|
"esm": "^3.2.25",
|
|
"nyc": "^15.1.0",
|
|
"sinon": "^9.2.4",
|
|
"typescript": "^4.0.0",
|
|
"uglify-js": "^3.0.0"
|
|
},
|
|
"homepage": "https://github.com/netlify/gotrue-js",
|
|
"keywords": [
|
|
"api",
|
|
"gotrue",
|
|
"identity",
|
|
"netlify"
|
|
],
|
|
"license": "MIT",
|
|
"main": "lib/index.js",
|
|
"types": "index.d.ts",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/netlify/gotrue-js.git"
|
|
},
|
|
"scripts": {
|
|
"babelify": "browserify src/index.js -t [ babelify --presets [ @babel/preset-env ] --plugins [ @babel/plugin-proposal-object-rest-spread ] ] | uglifyjs > browser/gotrue.js",
|
|
"prepare": "run-s compile",
|
|
"prepublishOnly": "run-s prepublishOnly:*",
|
|
"prepublishOnly:checkout": "git checkout master",
|
|
"prepublishOnly:pull": "git pull",
|
|
"prepublishOnly:install": "npm ci",
|
|
"prepublishOnly:test": "npm test",
|
|
"compile": "babel src -d lib",
|
|
"test": "run-s format test:dev",
|
|
"format": "run-s format:check-fix:*",
|
|
"format:ci": "run-s format:check:*",
|
|
"format:check-fix:lint": "run-e format:check:lint format:fix:lint",
|
|
"format:check:lint": "cross-env-shell eslint $npm_package_scriptsArgs_eslint",
|
|
"format:fix:lint": "cross-env-shell eslint --fix $npm_package_scriptsArgs_eslint",
|
|
"format:check-fix:prettier": "run-e format:check:prettier format:fix:prettier",
|
|
"format:check:prettier": "cross-env-shell prettier --check $npm_package_scriptsArgs_prettier",
|
|
"format:fix:prettier": "cross-env-shell prettier --write $npm_package_scriptsArgs_prettier",
|
|
"test:dev": "ava",
|
|
"test:ci": "nyc -r lcovonly -r text -r json ava"
|
|
},
|
|
"scriptsArgs": {
|
|
"eslint": "--ignore-path .gitignore --cache --format=codeframe --max-warnings=0 \"{src,tests,.github}/**/*.{js,md,html}\"",
|
|
"prettier": "--ignore-path .gitignore --loglevel=warn \"{src,tests,.github}/**/*.{js,md,yml,json,html}\" \"*.{js,yml,json,html}\" \".*.{js,yml,json,html}\" \"!package-lock.json\" \"!CHANGELOG.md\""
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
|
|
"pre-push": "npm run format"
|
|
}
|
|
}
|
|
}
|