-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathpackage.json
101 lines (101 loc) · 2.76 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
{
"name": "@spritejs/core",
"version": "2.31.10",
"description": "Platform-independent canvas render object model api.",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
"typings": "./lib/index.d.ts",
"esnext": {
"./lib/index.js": "./src/index.js"
},
"directories": {
"lib": "lib"
},
"keywords": [
"canvas",
"graphic",
"graphics"
],
"scripts": {
"test": "nyc ava --serial && rm -rf ./coverage && mkdir ./coverage && nyc report --reporter=text-lcov > ./coverage/lcov.info",
"testOnly": "ava",
"lint": "eslint 'src/**/*.js' --fix",
"lint-test": "eslint 'test/**/*.js' --fix",
"lint-example": "eslint 'example/*.html' --fix",
"lint-benchmark": "eslint 'benchmark/*.html' --fix",
"start": "webpack-dev-server --env.dev --watch-poll",
"benchmark": "webpack-dev-server --watch-poll --env.server=benchmark",
"build": "rm -rf dist/* && ./script/build.js",
"compile": "rm -rf lib/* && babel src -d lib",
"prepublishOnly": "npm run compile && npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/spritejs/sprite-core.git"
},
"author": "akira-cn",
"license": "MIT",
"bugs": {
"url": "https://github.com/spritejs/sprite-core/issues"
},
"devDependencies": {
"@babel/cli": "^7.2.0",
"@babel/core": "^7.2.0",
"@babel/plugin-external-helpers": "^7.2.0",
"@babel/plugin-proposal-class-properties": "^7.2.1",
"@babel/plugin-proposal-decorators": "^7.2.0",
"@babel/plugin-transform-runtime": "^7.2.0",
"@babel/preset-env": "^7.2.0",
"@babel/register": "^7.0.0",
"ava": "^1.0.0-rc.2",
"babel-eslint": "^10.0.1",
"babel-loader": "^8.0.4",
"canvas": "^2.6.0",
"colors": "^1.2.1",
"coveralls": "^3.0.1",
"eslint": "^4.19.1",
"eslint-config-sprite": "^1.0.4",
"eslint-plugin-html": "^4.0.3",
"hamming-distance": "^1.0.0",
"imghash": "0.0.3",
"nyc": "^13.0.1",
"pixelmatch": "^4.0.2",
"webpack": "^4.16.1",
"webpack-cli": "^3.1.0",
"webpack-dev-server": "^3.2.1"
},
"nyc": {
"exclude": [
"src/**/patheffect/*.js",
"src/core/filters.js",
"src/core/label.js",
"src/utils/parse-font.js",
"test/**/*.js"
]
},
"ava": {
"files": [
"test/*.js",
"!test/label.js"
],
"require": [
"@babel/register"
],
"babel": {
"testOptions": {
"babelrc": true
}
}
},
"homepage": "https://github.com/spritejs/sprite-core#readme",
"dependencies": {
"@babel/runtime": "^7.2.0",
"color-string": "^1.5.3",
"css-line-break": "^1.0.1",
"css-select": "^2.1.0",
"sprite-animator": "^1.11.4",
"sprite-flex-layout": "^1.0.7",
"sprite-math": "^1.0.5",
"svg-path-to-canvas": "^1.11.3"
}
}