forked from palantir/typesettable
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
69 lines (69 loc) · 2.69 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
{
"name": "typesettable",
"version": "4.1.0",
"description": "A typesetting library for SVG and Canvas",
"main": "build/src/index.js",
"types": "build/src/index.d.ts",
"buildPath": "build",
"testsGlob": "build/test/*Tests.js",
"docsPath": "docs",
"scripts": {
"build": "npm-run-all build:clean build:compile build:namespace build:bundle",
"build:clean": "rimraf ${npm_package_buildPath}",
"build:compile": "tsc --project .",
"build:namespace": "echo \"\\nexport as namespace Typesetter;\" >> ${npm_package_types}",
"build:bundle": "browserify --standalone Typesetter build/src/index.js > ./typesettable.js",
"check_version": "echo ${npm_package_version} $(npm view ${npm_package_name} version) | awk '{ if ($1 == $2) { exit 1 }}'",
"docs": "npm-run-all docs:clean docs:typedoc",
"docs:clean": "rimraf ${npm_package_docsPath}",
"docs:typedoc": "typedoc --options typedoc.json --tsconfig tsconfig.typedoc.json --out ${npm_package_docsPath}",
"docs:serve": "http-server ${npm_package_docsPath}",
"lint": "tslint src/**/*.ts test/**/*.ts",
"preview": "npm-run-all build preview:bundle",
"preview:bundle": "browserify -r ./${npm_package_main}:${npm_package_name} > preview/bundle.js && echo 'Preview ready'",
"preview:serve": "http-server preview",
"preview:watch": "onchange 'src/**' -i -- npm run preview",
"start": "npm-run-all -p preview:watch preview:serve",
"test": "npm-run-all build test:mocha test:coverage lint",
"test:coverage": "istanbul check-coverage",
"test:mocha": "PATH=$PATH:$(npm bin) mochify --reporter spec --plugin [ mochify-istanbul --report text --report json --dir coverage --exclude '**/test/**/*' ] ${npm_package_testsGlob}",
"test:local": "PATH=$PATH:$(npm bin) mochify --reporter spec ${npm_package_testsGlob}",
"test:sauce": "mochify --reporter spec --wd ${npm_package_testsGlob}"
},
"keywords": [
"canvas",
"svg",
"text",
"wrap"
],
"repository": {
"type": "git",
"url": "[email protected]:palantir/typesettable.git"
},
"author": "Palantir",
"license": "MIT",
"devDependencies": {
"@types/chai": "3.4.34",
"@types/d3": "^4.4.1",
"@types/mocha": "2.2.33",
"@types/node": "6.0.52",
"@types/sinon": "^1.16.35",
"browserify": "^13.3.0",
"chai": "3.5.0",
"circle-github-bot": "^0.4.0",
"d3": "^4.5.0",
"http-server": "^0.9.0",
"istanbul": "^0.4.5",
"mocha": "3.2.0",
"mochify": "2.18.1",
"mochify-istanbul": "^2.4.1",
"npm-run-all": "3.1.2",
"onchange": "^3.2.1",
"phantomjs-prebuilt": "2.1.14",
"rimraf": "2.5.4",
"sinon": "^1.17.7",
"tslint": "^4.3.1",
"typedoc": "^0.5.3",
"typescript": "2.3.4"
}
}