-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
43 lines (43 loc) · 1.44 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
{
"name": "rails-jwt-study",
"version": "1.0.0",
"description": "1. `bundle install` (--path vendor/bundle) 2. add following gems to Gemfile - \"bcrypt\" - \"jwt\" 3. make model 1. `bundle exec rails g model user name email password_digest` 2. `bundle exec rails db:migrate` 4. add `has_secure_password` to User model 5. make secret key 1. `mkdir PATH_TO_PROJECT/auth && $_` 2. `openssl genrsa 2024 > service.key` 3. add service.key to .gitignore",
"main": "index.js",
"directories": {
"lib": "lib",
"test": "test"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"webpack": "webpack"
},
"repository": {
"type": "git",
"url": "git+https://github.com/nkwtnb/rails-jwt-study.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/nkwtnb/rails-jwt-study/issues"
},
"homepage": "https://github.com/nkwtnb/rails-jwt-study#readme",
"devDependencies": {
"@babel/core": "^7.19.3",
"@babel/preset-env": "^7.19.3",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.18.6",
"babel-loader": "^8.2.5",
"css-loader": "^6.7.1",
"mini-css-extract-plugin": "^2.6.1",
"ts-loader": "^9.4.1",
"typescript": "^4.8.4",
"webpack": "^5.74.0",
"webpack-cli": "^4.10.0"
},
"dependencies": {
"@types/react": "^18.0.21",
"@types/react-dom": "^18.0.6",
"react": "^18.2.0",
"react-dom": "^18.2.0"
}
}