-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
83 lines (83 loc) · 2.54 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
{
"name": "family-tree",
"version": "1.0.0",
"description": "family tree to find and link your family members, and discover your ancerstors' stories",
"author": "sophietk",
"private": true,
"engines": {
"node": "20.x",
"npm": "10.x"
},
"scripts": {
"postinstall": "bower update",
"heroku-postbuild": "run-s build",
"start": "node ./server/server.js",
"watch": "npm-watch",
"test": "run-p lint:*",
"lint:js": "eslint .",
"build": "run-s clean:dist && run-p sass handlebars copy-assets && run-s usemin replace:cssfont",
"dist": "run-p build clean:zip && run-s compress",
"clean:dist": "rm -rf dist",
"clean:zip": "rm -rf zip",
"sass": "node-sass --source-map true app/sass/style.scss -o app/css",
"handlebars": "run-p handlebars:templates handlebars:partials",
"handlebars:templates": "handlebars app/js/*.hbs app/js/**/*.hbs app/js/**/**/*.hbs -f app/js/templates.js",
"handlebars:partials": "handlebars app/js/**/*.partial.hbs app/js/**/**/*.partial.hbs -p -f app/js/partials.js",
"copy-assets": "mkdir dist; run-p copy:*",
"copy:img": "cp -r app/img dist/",
"copy:font": "mkdir dist/font && cp -r app/bower_components/material-design-icons/font dist/font/material-design-icons",
"copy:i18n": "mkdir dist/js; cp -r app/js/i18n dist/js/",
"usemin": "usemin app/index.html -d dist > dist/index.html",
"replace:cssfont": "replace ../font/ ./font/ dist/style.min.css",
"compress": "mkdir zip; zip -r zip/$npm_package_name-$npm_package_version.zip dist"
},
"watch": {
"sass": {
"patterns": [
"app/sass"
],
"extensions": "scss"
},
"handlebars": {
"patterns": [
"app/js"
],
"extensions": "hbs"
}
},
"husky": {
"hooks": {
"pre-commit": "npm test"
}
},
"dependencies": {
"basic-auth-connect": "1.1.0",
"body-parser": "1.20.3",
"bower": "1.8.14",
"cookie-parser": "1.4.7",
"express": "4.21.2",
"handlebars": "4.7.8",
"lodash.pick": "4.4.0",
"mongodb": "6.12.0",
"morgan": "1.10.0",
"multer": "1.4.5-lts.1",
"node-sass": "9.0.0",
"npm-run-all": "4.1.5",
"object.omit": "3.0.0",
"replace": "1.2.2",
"usemin-cli": "0.6.0"
},
"devDependencies": {
"eslint": "8.57.0",
"eslint-config-standard": "17.1.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-promise": "6.2.0",
"husky": "9.1.7",
"npm-watch": "0.13.0"
},
"cacheDirectories": [
"node_modules",
"app/bower_components"
]
}