-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
57 lines (57 loc) · 1.53 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
{
"name": "api-node",
"version": "1.0.0",
"description": "Exemplo de API REST usando node e typescript",
"main": "dist/index.js",
"type": "module",
"scripts": {
"build": "rollup -c --configPlugin typescript",
"launch": "node dist/index.js",
"start": "npm run build && npm run launch",
"dev": "nodemon",
"preview": "ts-node src/index.ts",
"format": "prettier --write \"**/*.{js,cjs,mjs,json,ts}\"",
"lint": "eslint \"**/*.{js,cjs,mjs,ts}\"",
"lint:fix": "eslint \"**/*.{js,cjs,mjs,ts}\" --fix",
"fix": "npm run format && npm run lint:fix",
"clear": "rm -rf dist"
},
"author": "",
"license": "AGPL-3.0-or-later",
"devDependencies": {
"@rollup/plugin-commonjs": "^24.0.1",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.0.2",
"@rollup/plugin-terser": "^0.4.0",
"@rollup/plugin-typescript": "^11.1.0",
"@types/cors": "^2.8.13",
"@types/express": "^4.17.17",
"@typescript-eslint/eslint-plugin": "^5.57.1",
"@typescript-eslint/parser": "^5.57.1",
"dotenv": "^16.0.3",
"eslint": "^8.37.0",
"nodemon": "^2.0.22",
"prettier": "^2.8.7",
"rollup": "^3.20.2",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.2.0",
"tslib": "^2.5.0",
"typescript": "^5.0.3"
},
"dependencies": {
"cors": "^2.8.5",
"express": "^4.18.2",
"mysql2": "^3.2.0"
},
"nodemonConfig": {
"ignore": [
"node_modules",
"dist"
],
"watch": [
"src"
],
"ext": "ts",
"exec": "ts-node src/index.ts"
}
}