-
Notifications
You must be signed in to change notification settings - Fork 81
/
package.json
163 lines (163 loc) · 5.84 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
{
"name": "fiware-idm",
"version": "8.3.0",
"homepage": "https://keyrock-fiware.github.io/",
"repository": {
"type": "git",
"url": "git://github.com/ging/fiware-idm.git"
},
"bugs": {
"url": "https://github.com/ging/fiware-idm/issues"
},
"engines": {
"node": ">=16"
},
"private": true,
"license": "MIT",
"scripts": {
"start": "node --max-http-header-size=${IDM_SERVER_MAX_HEADER_SIZE:-8192} ./bin/www",
"healthcheck": "node ./bin/healthcheck.js",
"debug": "sudo DEBUG=idm:*,oauth2-server:* nodemon --ignore 'public/' --ignore 'views/' start",
"create_db": "./node_modules/.bin/sequelize --env database db:create",
"migrate_db": "./node_modules/.bin/sequelize --env database db:migrate",
"seed_db": "./node_modules/.bin/sequelize --env database db:seed:all",
"create_migration": "./node_modules/.bin/sequelize migration:generate --name",
"undo_migration": "./node_modules/.bin/sequelize --env database db:migrate:undo",
"undo_all_migration": "./node_modules/.bin/sequelize --env database db:migrate:undo:all",
"clean": "rm -rf package-lock.json && rm -rf node_modules && rm -rf coverage",
"lint": "eslint . --cache",
"lint:text": "textlint '*.md' 'doc/*.md' 'doc/**/*.md' 'extras/docker/*.md'",
"lint:md": "remark -f 'README.md' 'roadmap.md' 'doc' 'extras/docker'",
"prettier": "prettier --config .prettierrc.json --write routes/**/*.js models/**/*.js controllers/**/*.js **/*.js *.js",
"prettier:text": "prettier --parser markdown 'README.md' 'doc/**/*.md' 'extras/docker/*.md' --tab-width 4 --print-width 80 --write --prose-wrap always",
"prepare": "husky install",
"pre-commit": "lint-staged",
"test": "nyc --reporter=text mocha -- 'test/unit/*.js' 'test/integration/*.js' 'test/integration/**/*.js' --reporter spec --timeout 3000 --ui bdd --exit",
"test:coverage": "nyc --reporter=lcov mocha -- 'test/unit/*.js' 'test/integration/*.js' 'test/integration/**/*.js' --timeout 3000 --ui bdd --exit",
"test:coveralls": "npm run test:coverage && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage",
"test:single": "DEBUG=idm:*,oauth2-server:* mocha",
"test:watch": "npm run test -- -w ./lib",
"unittest": "nyc --reporter=text mocha -- 'test/unit/*.js' 'test/unit/**/*.js' --reporter spec --timeout 3000 --ui bdd --exit",
"unittest:coverage": "nyc --reporter=lcov mocha -- 'test/unit/*.js' 'test/unit/**/*.js' --reporter spec --timeout 3000 --ui bdd --exit",
"mk_image": "docker build -f extras/spgdocker/Dockerfile -t spg-idm .",
"compose_up": "docker-compose -f extras/spgdocker/docker-compose.yml up"
},
"dependencies": {
"async": "^3.2.2",
"base64-img": "^1.0.4",
"bcrypt": "^5.0.1",
"body-parser": "~1.19.1",
"bootstrap3-sass": "3.4.4",
"browser-detect": "^0.2.28",
"camelcase": "^6.3.0",
"cookie-parser": "~1.4.6",
"cookie-session": "^2.0.0",
"cors": "^2.8.5",
"csurf": "^1.9.0",
"debug": "~4.3.3",
"deepmerge": "^4.2.2",
"device-detector-js": "^2.2.10",
"ejs": "~2.7.4",
"express": "^4.17.2",
"express-force-ssl": "^0.3.2",
"express-partials": "^0.3.0",
"express-session": "^1.17.2",
"express-useragent": "^1.0.13",
"get-user-agent": "^4.0.0",
"gravatar": "^1.8.2",
"helmet": "^5.0.1",
"http": "0.0.1-security",
"https": "^1.0.0",
"i18n-express": "^1.1.3",
"is-hex": "^1.1.3",
"jimp": "^0.16.1",
"jsdom": "^19.0.0",
"jsonwebtoken": "^8.3.0",
"jwks-rsa": "^3.0.0",
"ldapjs": "^2.3.1",
"lodash": "^4.17.21",
"method-override": "^3.0.0",
"mime-types": "^2.1.34",
"mkdirp": "^1.0.4",
"morgan": "^1.9.1",
"multer": "^1.4.4",
"mysql2": "^2.3.3",
"node-forge": "^1.3.0",
"node-jose": "^2.0.0",
"nodemailer": "~6.7.2",
"nodemailer-mailgun-transport": "^2.1.3",
"nodemailer-smtp-transport": "~2.7.4",
"nodemon": "^2.0.15",
"oauth2-server": "git+https://github.com/ging/node-oauth2-server#master",
"otplib": "^11.0.1",
"pg": "^8.7.1",
"qrcode": "^1.5.0",
"request": "^2.85.0",
"rsa-pem-to-jwk": "^1.1.3",
"sass": "^1.34.1",
"sequelize": "^6.21.3",
"sequelize-cli": "^6.4.1",
"serve-favicon": "^2.4.5",
"speakeasy": "^2.0.0",
"underscore": "^1.12.1",
"url": "^0.11.0",
"xml-crypto": "^2.1.3",
"xml-encryption": "^1.3.0",
"xml2js": "^0.4.0",
"xmlbuilder": "~2.2.0",
"xmldom": "^0.6.0"
},
"devDependencies": {
"chai": "4.3.4",
"closure-linter-wrapper": "1.1.0",
"coveralls": "^3.1.0",
"eslint": "^8.6.0",
"eslint-config-tamia": "^7.2.7",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.21.5",
"eslint-plugin-react-hooks": "^4.0.0",
"eslint-plugin-snakecase": "0.0.1",
"husky": "^7.0.4",
"jshint": "~2.11.1",
"lint-staged": "^10.2.11",
"mocha": "^8.0.1",
"mocha-lcov-reporter": "^1.3.0",
"nock": "13.0.3",
"nyc": "^15.1.0",
"prettier": "^2.0.5",
"remark-cli": "^10.0.1",
"remark-preset-lint-recommended": "^6.1.2",
"should": "13.2.3",
"sinon": "12.0.1",
"sinon-chai": "3.7.0",
"textlint": "^12.1.0",
"textlint-rule-common-misspellings": "^1.0.1",
"textlint-rule-no-dead-link": "^4.8.0",
"textlint-rule-terminology": "^2.1.5",
"textlint-rule-write-good": "^2.0.0",
"timekeeper": "2.2.0"
},
"lint-staged": {
"*.js": [
"prettier --config .prettierrc.json --write",
"eslint --fix",
"git add"
],
"*.md": [
"prettier --parser markdown --tab-width 4 --print-width 80 --write --prose-wrap always",
"textlint 'README.md' 'doc/*.md' 'doc/**/*.md'",
"git add"
]
},
"remarkConfig": {
"settings": {
"bullet": "-",
"paddedTable": true
},
"plugins": [
"remark-preset-lint-recommended"
]
}
}