-
Notifications
You must be signed in to change notification settings - Fork 86
/
package.json
89 lines (89 loc) · 4.22 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
{
"name": "wasm-imagemagick",
"version": "1.2.8",
"description": "Webassembly compilation of ImageMagick",
"main": "dist/src/index.js",
"typings": "dist/src/index.d.ts",
"module": "dist/bundles/wasm-imagemagick.esm-es5.js",
"scripts": {
"build-wasm": "docker run --rm --workdir /code -v \"$PWD\":/code knicknic/wasm-imagemagick-build-tools:sdk-tag-1.38.12-64bit bash ./build.sh",
"build-ts": "rm -rf dist && tsc && npm run bundle",
"bundle": "npx tsc --project tsconfig-esm5.json && npx tsc --project tsconfig-esm6.json && npx tsc --project tsconfig-esm2018.json && mkdir -p dist/bundles && npx rollup -c rollup.config.js && npx rollup -c rollup.config.js --environment NODE_ENV:production",
"build": "npm run build-wasm && npm run build-ts",
"prepare": "npm run build && npm run magickApiJs && npm run copy",
"copy": "npm run copy-magickJs && npm run copy-magickWasm && mkdir -p dist && cp magick.js magickApi.js magick.wasm dist && mkdir -p dist/bundles && cp magick.js magickApi.js magick.wasm dist/bundles && cp magick.js magick.wasm spec/assets && cp -r spec/assets dist",
"copy-magickJs": "rm -rf magick.js && cp webworker.js magick.js && cat ImageMagick/utilities/magick.js >> magick.js",
"copy-magickWasm": "rm -rf magick.wasm && cp ImageMagick/utilities/magick.wasm .",
"magickApiJs": "cp dist/bundles/wasm-imagemagick.esm-es6.js magickApi.js",
"clean": "sh clean.sh",
"lint": "tslint \"src/**/*.ts\" \"spec/**/*.ts\"",
"lint-and-fix": "tslint \"src/**/*.ts\" \"spec/**/*.ts\" --fix",
"generateImEnums": "npx ts-node scripts/generateImEnums.ts",
"test": "npm run test-node && npm run test-browser",
"test-node-prepare": "cp tests/rotate/node_header.js tests/rotate/node.js && cat ImageMagick/utilities/magick.js >> tests/rotate/node.js && cp magick.wasm tests/rotate",
"test-node": "npm run test-node-prepare && cd tests/rotate && node node",
"test-browser-build": "tsc && browserify -d dist/spec/index.js -o dist/bundle.js",
"test-browser": "rm -rf dist && npm run test-browser-build && npm run copy && ls -R && gulp --gulpfile spec/gulpfile.js jasmine",
"test-browser-server": "rm -rf dist && npm run test-browser-build && npm run copy && gulp --gulpfile spec/gulpfile.js jasmine-server",
"test-browser-start": "rm -rf dist && tsc && npm run copy && npm run test-browser-watch-all",
"test-browser-watch-all": "concurrently 'npm run test-browser-watch-build' 'npm run test-browser-watch-server' ",
"test-browser-watch-build": "onchange -i -v 'src/**/*' 'spec/**/*' -- npm run test-browser-build",
"test-browser-watch-server": "onchange -k -v 'dist/bundle.js' -- gulp --gulpfile spec/gulpfile.js jasmine-server",
"apidocs": "typedoc --options typedoc.js --theme markdown",
"doc": "doctoc && npm run apidocs"
},
"repository": {
"type": "git",
"url": "git+https://github.com/KnicKnic/WASM-ImageMagick.git"
},
"keywords": [
"wasm",
"webassembly",
"imagemagick",
"browser",
"image",
"processing"
],
"author": "KnicKnic",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/KnicKnic/WASM-ImageMagick/issues"
},
"homepage": "https://github.com/KnicKnic/WASM-ImageMagick",
"devDependencies": {
"@babel/core": "^7.1.6",
"@babel/preset-env": "^7.1.6",
"@types/jasmine": "^2.8.11",
"@types/node": "^10.12.3",
"@types/shelljs": "^0.8.0",
"browserify": "^16.2.3",
"concurrently": "^4.0.1",
"doctoc": "^1.3.1",
"gulp": "^4.0.0",
"gulp-jasmine-browser": "^4.0.2",
"jasmine": "^3.3.0",
"onchange": "^5.1.0",
"puppeteer": "^1.13.0",
"rollup": "0.66.6",
"rollup-plugin-babel": "^4.0.3",
"rollup-plugin-commonjs": "9.2.0",
"rollup-plugin-json": "3.1.0",
"rollup-plugin-node-resolve": "3.4.0",
"rollup-plugin-replace": "2.1.0",
"rollup-plugin-sourcemaps": "0.4.2",
"rollup-plugin-terser": "3.0.0",
"rollup-plugin-uglify-es": "0.0.1",
"shelljs": "^0.8.3",
"ts-node": "^7.0.1",
"ts-simple-ast": "^19.0.0",
"tslint": "^5.11.0",
"typedoc": "^0.13.0",
"typedoc-plugin-markdown": "^1.1.18",
"typescript": "^3.1.6",
"webpack-config-utils": "^2.3.1"
},
"dependencies": {
"p-map": "^2.0.0",
"stacktrace-js": "^2.0.0"
}
}