-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
52 lines (52 loc) · 1.47 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
{
"name": "@9am/img-victor",
"version": "1.0.1",
"description": "A web component coverting img to path",
"keywords": [
"web component",
"img",
"svg",
"path",
"vector",
"animation",
"lsd"
],
"type": "module",
"module": "./dist/img-victor.es.js",
"exports": {
".": {
"import": "./dist/img-victor.es.js",
"default": "./dist/img-victor.es.js"
},
"./fastWorker.js": "./dist/fastWorker.js",
"./fastWorker.wasm": "./dist/fastWorker.wasm"
},
"files": [
"dist/*.js",
"dist/*.wasm"
],
"scripts": {
"dev": "vite",
"build": "vite build",
"build:fast": "cd lib/workers/lsd && emcc -Oz lsd.c -o fastWorker.js -sEXPORTED_FUNCTIONS=\"['_malloc', '_free', '_lsd']\" -sALLOW_MEMORY_GROWTH=1 -sMODULARIZE=1 --pre-js pre.js --extern-post-js post.js",
"build:slow": "cd lib/workers/lsd && emcc -Oz lsd.c -o slowWorker.js --memory-init-file 0 -sWASM=0 -sEXPORTED_FUNCTIONS=\"['_malloc', '_free', '_lsd']\" -sALLOW_MEMORY_GROWTH=1 -sMODULARIZE=1 --pre-js pre.js --extern-post-js post.js",
"build:all": "npm run build:slow && npm run build:slow && npm run build"
},
"author": [
{
"name": "9am",
"email": "[email protected]",
"url": "https://9am.github.io/"
}
],
"repository": {
"type": "git",
"url": "https://github.com/9am/img-victor"
},
"license": "MIT",
"devDependencies": {
"prettier": "^2.7.1",
"vite": "^2.8.6",
"vite-plugin-static-copy": "^0.4.1"
}
}