-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
48 lines (48 loc) · 1.9 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
{
"name": "node_server",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"lint": "eslint ./src",
"lint:fix": "eslint --fix ./src",
"build": "NODE_ENV='production' webpack",
"start": "node ./server.js",
"server": "node ./server.js",
"prestart": "npm run tmpl",
"pretmpl": "npm run build-css & pug -c ./src/Views/PugTemplates",
"prebuild": "npm run tmpl",
"build-css": "node-sass src/Views/public/scss -o src/Views/public/css & node-sass src/Views/public/scss/components -o src/Views/public/css/components",
"tmpl": "echo 'export {template}' >> src/Views/PugTemplates/mainPage.js \n echo 'export {template}' >> src/Views/PugTemplates/ProfileEditForm.js \n echo 'export {template}' >> src/Views/PugTemplates/ProfilePage.js \n echo 'export {template}' >> src/Views/PugTemplates/SendLetterForm.js \n echo 'export {template}' >> src/Views/PugTemplates/SignInForm.js \n echo 'export {template}' >> src/Views/PugTemplates/SignUpForm.js \n echo 'export {template}' >> src/Views/PugTemplates/BaseComponents/navbar.js"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"express": "^4.17.1",
"node-fetch": "^2.6.1",
"node-sass": "^5.0.0",
"pug": "^3.0.0",
"request": "^2.88.2"
},
"devDependencies": {
"@babel/core": "^7.12.3",
"@babel/preset-env": "^7.12.1",
"babel-core": "^6.26.3",
"babel-loader": "^8.1.0",
"babel-preset-env": "^1.7.0",
"css-loader": "^5.0.1",
"eslint": "^7.11.0",
"eslint-config-airbnb": "^18.2.0",
"eslint-config-airbnb-base": "^14.2.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.3.1",
"html-webpack-plugin": "^4.5.0",
"style-loader": "^2.0.0",
"svg-inline-loader": "^0.8.2",
"webpack": "^4.44.2",
"webpack-cli": "^3.3.12",
"webpack-dev-server": "^3.11.0"
}
}