-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
54 lines (54 loc) · 2.3 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
{
"name": "icon.font",
"version": "1.1.3",
"description": "Generates webfonts from individual svg icons with persistent config and mapping previews",
"main": "index.js",
"bin": {
"icon.font": "./bin"
},
"mocha_opts": "-u tdd --compilers coffee:coffee-register --slow 3000 --timeout 8000",
"scripts": {
"prepublishOnly": "npm run test:travis",
"build": "npm run compile && npm run prependbin && npm run makeexec",
"compile": "npm run compile:module && npm run compile:bin",
"compile:module": "foreach -g 'lib/*.coffee' -x 'cat {{path}} | coffee -c -s -b > forCoverage/{{name}}.js' && cp -r lib/templates forCoverage/templates",
"compile:bin": "coffee -o ./forCoverage -c -b lib/cli.coffee",
"prependbin": "echo '#!/usr/bin/env node' | cat - forCoverage/cli.js > forCoverage/bin && rm -rf forCoverage/cli.js",
"makeexec": "chmod +x forCoverage/bin",
"coverage": "npm run build && npm run coverage:run && npm run coverage:badge",
"coverage:run": "cd test && forCoverage=true istanbul cover --dir coverage ../node_modules/mocha/bin/_mocha -- -u tdd --compilers coffee:coffee-register --slow 3000 --timeout 8000 ./",
"coverage:badge": "badge-gen -d ./.config/badges/coverage",
"test:debug": "cd test && mocha -u tdd --compilers coffee:coffee-register --slow 3000 --timeout 8000 --debug-brk --inspect",
"test:travis": "cd test && mocha -u tdd --compilers coffee:coffee-register --slow 3000 --timeout 8000 ./",
"test": "cd test && mocha -u tdd --compilers coffee:coffee-register --slow 3000 --timeout 8000 --bail ./"
},
"repository": {
"type": "git",
"url": "git+https://github.com/danielkalen/icon.font.git"
},
"author": "danielkalen",
"license": "ISC",
"bugs": {
"url": "https://github.com/danielkalen/icon.font/issues"
},
"homepage": "https://github.com/danielkalen/icon.font#readme",
"devDependencies": {
"badge-gen": "^1.0.1",
"bluebird": "^3.5.0",
"chai": "^3.5.0",
"coffeescript": "^2.6.1",
"mocha": "^3.2.0"
},
"dependencies": {
"bluebird": "^3.5.0",
"capture-website": "^2.1.1",
"chalk": "^1.1.3",
"coffee-register": "^2.2.0",
"commander": "^2.9.0",
"execa": "^0.6.0",
"fs-jetpack": "^2.2.0",
"promise-break": "^0.1.2",
"smart-extend": "^1.3.2",
"webfonts-generator": "^0.4.0"
}
}