-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
38 lines (38 loc) · 1.51 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
{
"private": true,
"name": "dom-snapshot",
"version": "0.3.0-dev.0",
"description": "Get `<canvas>` from DOM string through SVG `<foreignObject>`",
"author": "mockingbot",
"license": "MIT",
"keywords": [
"snapshot",
"DOM",
"canvas",
"SVG",
"foreignObject"
],
"repository": "github:mockingbot/dom-snapshot",
"scripts": {
"// script ======================": "",
"script-pack": "node -r @babel/register ./script pack",
"script-pack-test": "node -r @babel/register ./script verbose pack test",
"script-publish": "node -r @babel/register ./script pack publish-auto",
"script-generate-spec": "node -r @babel/register ./script/generateSpec",
"// build =======================": "",
"build-library": "babel ./source --out-dir ./output-gitignore/library",
"build-library-dev": "BABEL_ENV=dev npm run build-library -- --watch",
"build-module": "BABEL_ENV=module babel ./source --out-dir ./output-gitignore/module",
"build-example": "node -r @babel/register ./script/webpack.example production profile",
"build-example-dev": "node -r @babel/register ./script/webpack.example development watch",
"// =============================": "",
"analyze-stat": "npx webpack-bundle-analyzer .temp-gitignore/profile-stat.json example/",
"lint": "eslint ./source/ ./script/",
"test": "npm run script-pack-test",
"prepack": "echo \"Error: pack with script-*\" && exit 1"
},
"devDependencies": {
"@dr-js/dev": "^0.4.10",
"@dr-js/dev-web": "^0.4.10"
}
}