-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
80 lines (80 loc) · 2.73 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
{
"name": "canvas-to-video",
"version": "1.0.1",
"description": "",
"main": "./build/cjs/index.js",
"module": "./build/esm/index.js",
"bundlesize": [
{
"path": "./build/canvas-to-video.js",
"maxSize": "2 kB",
"compression": "none"
}
],
"scripts": {
"build": "npm run build:clean && npm run build:umd && npm run build:cjs && npm run build:esm",
"build:clean": "rm -rf ./build",
"build:umd": "webpack",
"build:cjs": "babel src --out-dir build/cjs --extensions \".js\" --source-maps inline --presets @babel/env",
"build:esm": "babel src --out-dir build/esm --extensions \".js\" --source-maps inline",
"test": "NODE_ENV=test mocha --require @babel/register --colors './test/**/*.spec.js'",
"test:only": "NODE_ENV=test mocha --require @babel/register --colors",
"test:watch": "NODE_ENV=test mocha --require @babel/register --colors -w './test/**/*.spec.js'",
"test:watch-only": "NODE_ENV=test mocha --require @babel/register --colors -w ",
"lint": "eslint src && npx madge --circular src",
"lint:fix": "eslint --fix",
"coverage": "NODE_ENV=test npm run coverage:generate && npm run coverage:report",
"coverage:view": "open ./coverage/lcov-report/index.html",
"coverage:generate": "nyc mocha './test/**/*.spec.js' -- --require @babel/register",
"coverage:report": "nyc report --reporter=lcov",
"ci:src": "npm run lint",
"ci:bundlesize": "./scripts/check-bundlesize",
"analyze": "webpack-bundle-analyzer build/stats.json"
},
"repository": {
"type": "git",
"url": "git+https://github.com/rohan-deshpande/canvas-to-video.git"
},
"keywords": [
"video",
"canvas",
"html5",
"threejs"
],
"authors": [
"rohan-deshpande"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/rohan-deshpande/canvas-to-video/issues"
},
"homepage": "https://github.com/rohan-deshpande/canvas-to-video/issues#readme",
"dependencies": {},
"peerDependencies": {},
"devDependencies": {
"@babel/cli": "^7.10.1",
"@babel/core": "^7.10.1",
"@babel/plugin-proposal-object-rest-spread": "^7.10.1",
"@babel/plugin-transform-runtime": "^7.10.1",
"@babel/preset-env": "^7.10.1",
"@babel/register": "^7.10.1",
"@babel/runtime": "^7.10.1",
"@istanbuljs/nyc-config-babel": "^3.0.0",
"babel-eslint": "^7.2.1",
"babel-loader": "^8.1.0",
"bundlesize": "^0.18.0",
"chai": "^4.2.0",
"coveralls": "^3.0.3",
"domino": "^2.1.1",
"eslint": "^6.0.1",
"eslint-loader": "^2.2.1",
"eslint-plugin-import": "^2.18.0",
"mocha": "^7.1.1",
"nyc": "^15.0.0",
"prettier": "^1.16.4",
"sinon": "^7.1.1",
"webpack": "^4.42.1",
"webpack-bundle-analyzer": "^3.6.1",
"webpack-cli": "^3.3.5"
}
}