forked from netlify/gotrue-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
68 lines (68 loc) · 2.72 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
{
"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": "^2.0.0",
"@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": "^4.1.7",
"@typescript-eslint/eslint-plugin": "^5.0.0",
"@typescript-eslint/parser": "^5.0.0",
"ava": "^3.15.0",
"babelify": "^10.0.0",
"browserify": "^16.0.0",
"esm": "^3.2.25",
"husky": "^7.0.4",
"nyc": "^15.1.0",
"sinon": "^12.0.0",
"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": "husky install node_modules/@netlify/eslint-config-node/.husky/ && run-s compile",
"prepublishOnly": "run-s prepublishOnly:*",
"prepublishOnly:checkout": "run-local \"git checkout main\"",
"prepublishOnly:pull": "run-local \"git pull\"",
"prepublishOnly:install": "run-local \"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_config_eslint",
"format:fix:lint": "cross-env-shell eslint --fix $npm_package_config_eslint",
"format:check-fix:prettier": "run-e format:check:prettier format:fix:prettier",
"format:check:prettier": "cross-env-shell prettier --check $npm_package_config_prettier",
"format:fix:prettier": "cross-env-shell prettier --write $npm_package_config_prettier",
"test:dev": "ava",
"test:ci": "nyc -r lcovonly -r text -r json ava"
},
"config": {
"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\""
}
}