forked from torch2424/as-bind
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
113 lines (113 loc) · 4.81 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
{
"name": "as-bind",
"description": "Isomorphic library to handle passing high-level data structures between AssemblyScript and JavaScript 🤝🚀",
"version": "0.6.1",
"main": "dist/as-bind.cjs.js",
"module": "dist/as-bind.esm.js",
"iife": "dist/as-bind.iife.js",
"types": "dist/as-bind.d.ts",
"scripts": {
"build": "run-s lib:wasm:build lib:js:build",
"dev": "run-p lib:watch lib:test:watch",
"serve": "serve dist -p 8080",
"test": "mocha",
"lint": "prettier --write **/*.js **/*.ts **/*.json !build/**/* !dist/**/*",
"lint:ci": "prettier --check **/*.js **/*.ts **/*.json !build/**/* !dist/**/*",
"lib:watch": "chokidar --initial \"lib/**/*\" -c \"run-s lib:wasm:build lib:js:build:dev test\"",
"lib:test:watch": "chokidar \"test/**/*.js\" \"test/**/*.ts\" -c \"run-s lib:wasm:build lib:test:build test\"",
"lib:wasm:build": "run-s lib:wasm:build:debug lib:wasm:build:optimized lib:wasm:build:cp",
"lib:wasm:build:debug": "asc lib/assembly/as-bind.ts -b dist/as-bind.debug.wasm -t dist/as-bind.debug.wat --sourceMap --debug --exportRuntime",
"lib:wasm:build:optimized": "asc lib/assembly/as-bind.ts -b dist/as-bind.wasm --sourceMap dist/as-bind.wasm.map -t dist/as-bind.wat -O3 --exportRuntime",
"lib:wasm:build:cp": "cpy 'lib/assembly/**/*' dist",
"lib:js:build": "rollup -c --environment LIB,PROD && cpy 'lib/as-bind.d.ts' dist",
"lib:js:build:dev": "rollup -c --environment LIB,DEV",
"lib:test:build": "run-s lib:test:build:entry lib:test:build:no-entry",
"lib:test:build:entry": "asc lib/assembly/as-bind.ts test/assembly/test.ts -b test/assembly/test.wasm --debug --runtime incremental --exportRuntime",
"lib:test:build:no-entry": "asc test/assembly/test.ts -b test/assembly/test-no-entry.wasm --debug --runtime incremental --exportRuntime",
"lib:deploy": "npm run build && np",
"md:build": "run-s md:wasm:build md:ts:build md:js:build",
"premd:dev": "npm run md:build",
"md:dev": "run-p lib:watch md:wasm:watch md:ts:watch md:js:watch serve",
"md:wasm:watch": "chokidar --initial \"examples/markdown-parser/assembly/**/*\" -c \"run-s md:wasm:build\"",
"md:ts:watch": "chokidar --initial \"examples/markdown-parser/assembly/**/*\" -c \"run-s md:ts:build\"",
"md:js:watch": "chokidar --initial \"examples/markdown-parser/**/*\" -c \"rollup -c --environment MD,DEV\"",
"md:wasm:build": "asc lib/assembly/as-bind.ts examples/markdown-parser/assembly/index.ts -b dist/examples/markdown-parser/index.wasm -t dist/examples/markdown-parser/index.wat --sourceMap dist/examples/markdown-parser/index.wasm.map --runtime incremental --exportRuntime",
"md:ts:build": "tsc --project examples/markdown-parser/assembly/ --outDir dist/ts/ --module \"es2015\"",
"md:js:build": "rollup -c --environment MD,PROD",
"md:deploy": "run-s build md:build md:deploy:gh-pages",
"md:deploy:gh-pages": "gh-pages -d dist/examples/markdown-parser"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
},
"devDependencies": {
"@ampproject/rollup-plugin-closure-compiler": "^0.25.2",
"@babel/core": "^7.5.5",
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/plugin-proposal-export-default-from": "^7.5.2",
"@babel/plugin-proposal-object-rest-spread": "^7.5.5",
"@babel/plugin-transform-react-jsx": "^7.3.0",
"babel-preset-es2015-rollup": "^3.0.0",
"chokidar-cli": "^2.0.0",
"cpy-cli": "^2.0.0",
"gh-pages": "^2.1.1",
"husky": "^3.0.5",
"mkdirp": "^0.5.1",
"mocha": "^6.2.0",
"normalize.css": "^8.0.1",
"np": "^5.2.1",
"npm-run-all": "^4.1.5",
"postcss-import": "^12.0.1",
"preact": "^8.5.2",
"prettier": "1.18.2",
"pretty-quick": "^1.11.1",
"rollup": "^1.20.2",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-bundle-size": "^1.0.3",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-copy": "^3.1.0",
"rollup-plugin-delete": "^1.1.0",
"rollup-plugin-hash": "^1.3.0",
"rollup-plugin-json": "^4.0.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-postcss": "^2.0.3",
"sakura.css": "^1.0.0",
"serve": "^11.2.0",
"typescript": "^3.9.2"
},
"repository": {
"type": "git",
"url": "git+https://github.com/torch2424/as-bind.git"
},
"keywords": [
"assemblyscript",
"wasm",
"bindgen",
"bind",
"type",
"loader",
"load",
"strings",
"object",
"arrays",
"assembly",
"script",
"typescript"
],
"author": "Aaron Turner",
"license": "MIT",
"bugs": {
"url": "https://github.com/torch2424/as-bind/issues"
},
"homepage": "https://github.com/torch2424/as-bind#readme",
"dependencies": {
"@assemblyscript/loader": "~0.18.7",
"assemblyscript": "~0.18.7"
},
"peerDependencies": {
"@assemblyscript/loader": "0.18.x",
"assemblyscript": "0.18.x"
}
}