mirror of
https://github.com/mozilla/fxa.git
synced 2025-12-13 20:36:41 +01:00
Because: * We want to introduce nx to the repository This commit: * Adds nx with working builds Closes: FXA-7341 Co-authored-by: dschom <dschomburg@mozilla.com>
57 lines
2.0 KiB
JSON
57 lines
2.0 KiB
JSON
{
|
|
"name": "fxa-auth-client",
|
|
"version": "0.0.0",
|
|
"description": "",
|
|
"main": "dist/server/packages/fxa-auth-client/server.js",
|
|
"exports": {
|
|
".": "./dist/server/packages/fxa-auth-client/server.js",
|
|
"./browser": "./dist/browser/packages/fxa-auth-client/browser.js",
|
|
"./lib/crypto": "./dist/server/packages/fxa-auth-client/lib/crypto.js",
|
|
"./lib/hawk": "./dist/server/packages/fxa-auth-client/lib/hawk.js",
|
|
"./lib/recoveryKey": "./dist/server/packages/fxa-auth-client/lib/recoveryKey.js",
|
|
"./lib/utils": "./dist/server/packages/fxa-auth-client/lib/utils.js",
|
|
"./lib/": "./lib/"
|
|
},
|
|
"scripts": {
|
|
"lint": "eslint . --ext .ts",
|
|
"postinstall": "(tsc --build tsconfig.browser.json && tsc --build) || true",
|
|
"build": "tsc --build tsconfig.browser.json && tsc --build",
|
|
"compile": "tsc --noEmit",
|
|
"ts-check": "tsc --noEmit",
|
|
"test": "mocha -r esbuild-register test/*",
|
|
"format": "prettier --write --config ../../_dev/.prettierrc '**'",
|
|
"test-unit": "MOCHA_FILE=../../artifacts/tests/$npm_package_name/mocha-unit.xml mocha -r esbuild-register test/*",
|
|
"test-integration": "echo No integration tests present for $npm_package_name"
|
|
},
|
|
"author": "",
|
|
"license": "MPL-2.0",
|
|
"dependencies": {
|
|
"@peculiar/webcrypto": "^1.4.0",
|
|
"abab": "^2.0.6",
|
|
"abort-controller": "^3.0.0",
|
|
"node-fetch": "^2.6.7"
|
|
},
|
|
"devDependencies": {
|
|
"@types/assert": "^1.5.4",
|
|
"@types/fast-text-encoding": "^1",
|
|
"@types/mocha": "^8",
|
|
"@types/node": "^18.14.2",
|
|
"@types/node-fetch": "^2.5.7",
|
|
"@types/prettier": "^2",
|
|
"asmcrypto.js": "^0.22.0",
|
|
"esbuild": "^0.17.15",
|
|
"esbuild-register": "^3.2.0",
|
|
"eslint": "^8.38.0",
|
|
"eslint-config-react-app": "^7.0.1",
|
|
"fast-text-encoding": "^1.0.4",
|
|
"mocha": "^10.0.0",
|
|
"prettier": "^2.8.7",
|
|
"typescript": "^4.9.3",
|
|
"webcrypto-liner": "^1.4.0"
|
|
},
|
|
"mocha": {
|
|
"reporter": "mocha-multi",
|
|
"reporterOptions": "spec=-,mocha-junit-reporter=-"
|
|
}
|
|
}
|