forked from hustcc/canvas-nest.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
62 lines (62 loc) · 1.79 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
{
"name": "canvas-nest.js",
"officialName": "canvas-nest.js",
"version": "2.0.2",
"main": "lib/index.js",
"summary": "A nest backgroud of website draw on canvas use javascript, do not depends on jQuery.",
"description": "A nest backgroud of website draw on canvas use javascript, do not depends on jQuery.",
"scripts": {
"test": "npm run size",
"size": "size-limit",
"build:lib": "rimraf ./lib && cross-env NODE_ENV=babel babel src -d lib",
"build:umd": "cross-env NODE_ENV=rollup rollup -c rollup.config.umd.js",
"build:iife": "cross-env NODE_ENV=rollup rollup -c rollup.config.iife.js",
"build": "npm run build:umd && npm run build:iife && npm run build:lib && npm run test"
},
"dependencies": {
"size-sensor": "^0.2.0"
},
"size-limit": [
{
"limit": "2.5 KB",
"path": "dist/canvas-nest.umd.js"
},
{
"limit": "2.5 KB",
"path": "dist/canvas-nest.js"
}
],
"author": {
"name": "hustcc",
"url": "https://github.com/hustcc"
},
"homepage": "https://atool.vip",
"license": "MIT",
"keywords": [
"canvas",
"html5",
"nest"
],
"repository": {
"type": "git",
"url": "https://github.com/hustcc/canvas-nest.js"
},
"bugs": {
"url": "https://github.com/hustcc/canvas-nest.js/issues"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-preset-env": "^1.6.1",
"cross-env": "^5.1.3",
"rimraf": "^2.6.2",
"rollup": "^0.58.1",
"rollup-plugin-babel": "^3.0.4",
"rollup-plugin-commonjs": "^9.1.3",
"rollup-plugin-node-resolve": "^3.3.0",
"rollup-plugin-uglify": "^3.0.0",
"size-limit": "^0.18.0"
}
}