This repository has been archived by the owner on Oct 23, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
52 lines (52 loc) · 2 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
{
"name": "Phonebook",
"version": "0.0.0",
"description": "Search and sync contacts",
"keywords": ["contacts", "phonebook", "vcf"],
"author": {
"name": "Chris Zuber",
"email": "shgysk8zer0@gmail.com",
"url": "https://chriszuber.com"
},
"contributors": [],
"homepage": "",
"license": "GPL-3.0",
"repository": {
"type": "git",
"url": "https://github.com/shgysk8zer0/Phonebook"
},
"bugs": {
"url": "https://github.com/shgysk8zer0/Phonebook/issues"
},
"engines": {
"php": ">=5.5",
"npm": ">=3.5"
},
"scripts": {
"build:css": "myth stylesheets/styles/import.css -c stylesheets/styles/styles.css",
"build:js": "webpack",
"build:icons": "svg-sprite-generate -c images/icons.csv -o images/icons.svg",
"build:all": "npm run build:css && npm run build:js && npm run build:icons",
"lint:js": "eslint --ext .es6 .",
"lint:php": "php unit.php",
"update": "npm run git:submodules && npm run git:fetch && npm run build:all && npm run git:hooks",
"test": "npm run lint:js",
"hook:pre-commit": "cp .git/hooks/pre-commit.sample .git/hooks/pre-commit && chmod u+x .git/hooks/pre-commit",
"hook:post-merge": "touch .git/hooks/post-merge && echo '#!/bin/sh' > .git/hooks/post-merge && echo 'npm run update' >> .git/hooks/post-merge && chmod u+x .git/hooks/post-merge",
"hook:pre-push": "touch .git/hooks/pre-push && echo '#!/bin/sh' > .git/hooks/pre-push && echo 'npm test' >> .git/hooks/pre-push && chmod u+x .git/hooks/pre-push",
"git:hooks": "npm run hook:pre-commit && npm run hook:post-merge && npm run hook:pre-push",
"git:fetch": "git fetch --all --prune --tags",
"git:submodules": "git submodule update --init --recursive",
"postinstall": "npm run git:hooks && npm run update"
},
"devDependencies": {
"babel-core": "^6.7.0",
"babel-loader": "^6.2.4",
"babel-preset-es2015": "^6.6.0",
"eslint": "^2.3.0",
"myth": "^1.5.0",
"svg-sprite-generator": "0.0.7",
"svgo": "^0.6.2",
"webpack": "^1.12.14"
}
}