forked from spritejs/spritejs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
106 lines (106 loc) · 2.93 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
102
103
104
105
106
{
"name": "spritejs",
"version": "2.27.18",
"engines": {
"node": ">= 6.0.0",
"npm": ">= 3.0.0"
},
"description": "A lightweight 2D canvas rendering engine for modern browsers with ES6+.",
"main": "lib/index.js",
"module": "src/spritejs.esm.js",
"directories": {
"example": "example"
},
"browser": {
"./src/platform": "./src/platform/browser",
"./lib/platform": "./lib/platform/browser"
},
"scripts": {
"test": "nyc ava --serial && rm -rf ./coverage && mkdir ./coverage && nyc report --reporter=text-lcov > ./coverage/lcov.info",
"lint": "eslint 'src/**/*.js' --fix",
"lint-test": "eslint 'test/**/*.js' --fix",
"lint-example": "eslint 'example/*.html' --fix",
"lint-benchmark": "eslint 'benchmark/*.html' --fix",
"lint-doc": "eslint 'docs/src/**/*.js' --fix",
"lint-demo": "eslint 'docs/demo/static/code/**/*.js' --fix",
"start": "webpack-dev-server --watch-poll",
"benchmark": "webpack-dev-server --watch-poll --env.server=benchmark",
"deploy": "npm run build",
"compile": "rm -rf lib/* && babel src -d lib",
"build": "npm run compile && rm -rf dist/* && ./script/build.js",
"doc": "babel docs/src -d docs/js --watch & webpack-dev-server --watch-poll --env.server=docs",
"build-doc": "babel docs/src -d docs/js && ./script/build-doc.js",
"prepublishOnly": "npm run build-doc && npm run deploy"
},
"repository": {
"type": "git",
"url": "https://github.com/spritejs/spritejs"
},
"keywords": [
"sprite",
"canvas",
"graphic",
"graphics",
"SVG",
"Path",
"d3",
"node-canvas",
"parser",
"HTML5",
"object model"
],
"author": "akira-cn",
"license": "MIT",
"dependencies": {
"@babel/runtime": "^7.2.0",
"axios": "^0.18.0",
"sprite-core": "^2.29.14"
},
"devDependencies": {
"@babel/cli": "^7.2.0",
"@babel/core": "^7.4.0",
"@babel/plugin-external-helpers": "^7.2.0",
"@babel/plugin-proposal-class-properties": "^7.2.1",
"@babel/plugin-proposal-decorators": "^7.2.2",
"@babel/plugin-transform-runtime": "^7.2.0",
"@babel/preset-env": "^7.4.2",
"@babel/register": "^7.0.0",
"ava": "^1.4.1",
"babel-eslint": "^10.0.1",
"babel-loader": "^8.0.4",
"babel-plugin-inline-package-json": "^2.0.0",
"colors": "^1.2.1",
"coveralls": "^3.0.2",
"d3": "^4.13.0",
"eslint": "^4.19.1",
"eslint-config-sprite": "^1.0.6",
"eslint-plugin-html": "^4.0.5",
"gifencoder": "^1.1.0",
"hamming-distance": "^1.0.0",
"imghash": "0.0.3",
"nyc": "^14.1.1",
"pixelmatch": "^4.0.2",
"webpack": "^4.16.2",
"webpack-cli": "^3.1.0",
"webpack-dev-server": "^3.2.1"
},
"ava": {
"require": [
"@babel/register"
],
"babel": {
"testOptions": {
"babelrc": true
}
}
},
"nyc": {
"include": [
"src/**/*.js"
],
"exclude": [
"src/animation.js",
"src/cross-platform/**/*.js"
]
}
}