next-auth

v3.15.9
Authentication for Next.js
react nodejs oauth jwt oauth2 authentication nextjs csrf oidc and 2 more...

dev

cd app && npm run dev

lint

eslint .

test

npm run test:app:rebuild && npm run test:integration && npm run test:app:stop && npm run test:types

build

npm run build:js && npm run build:css

watch

npm run watch:js | npm run watch:css

db:stop

docker-compose -f test/docker/databases.yml down

test:db

npm run test:db:mysql && npm run test:db:postgres && npm run test:db:mongodb && npm run test:db:mssql

build:js

node ./config/build.js && babel --config-file ./config/babel.config.json src --out-dir dist

db:start

docker-compose -f test/docker/databases.yml up -d

lint:fix

eslint . --fix

watch:js

babel --config-file ./config/babel.config.json --watch src --out-dir dist

build:css

postcss --config config/postcss.config.js src/**/*.css --base src --dir dist && node config/wrap-css.js

dev:setup

npm run build:css && cd app && npm i

watch:css

postcss --config config/postcss.config.js --watch src/**/*.css --base src --dir dist

test:types

dtslint types

publish:beta

npm publish --tag beta

test:app:stop

docker-compose -f test/docker/app.yml down

test:db:mssql

node test/mssql.js

test:db:mysql

node test/mysql.js

prepublishOnly

npm run build

publish:canary

npm publish --tag canary

test:app:start

docker-compose -f test/docker/app.yml up -d

test:db:mongodb

node test/mongodb.js

test:app:rebuild

npm run build && docker-compose -f test/docker/app.yml up -d --build

test:db:postgres

node test/postgres.js

test:integration

mocha test/integration

Metadata

  • ISC
  • Whatever
  • Iain Collins
  • released 4/21/2021

Downloads