forked from movefuns/move-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
98 lines (98 loc) · 3.12 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
{
"name": "@starcoin/move-js",
"version": "0.7.1",
"description": "Javascript version of the Move language compiler, supports compiling Move code into Move bytecode in the browser.",
"keywords": [
"move",
"rust",
"starcoin",
"smart contracts",
"facebook",
"diem",
"blockchain"
],
"files": [
"dist",
"src",
"pkg",
"package.json",
"LICENSE",
"README.md"
],
"repository": {
"type": "git",
"url": "https://github.com/starcoinorg/move-js"
},
"main": "dist/index.cjs.js",
"module": "dist/index.esm.js",
"iife": "dist/index.iife.js",
"types": "dist/types/index.d.ts",
"browserslist": "> 0.25%, not dead",
"scripts": {
"build:rust": "cargo +nightly build -Zbuild-std=std,panic_abort --target=wasm32-wasi --release && cp ./target/wasm32-wasi/release/move-web.wasm ./pkg/move_bg.wasm",
"build:js": "rollup -c --environment BUILD:production",
"build": "run-s clean build:rust build:js",
"test:integration": "babel-node --presets @babel/preset-env -- ./node_modules/karma/bin/karma start karma.conf.js",
"test": "run-s build test:integration",
"lint": "run-s lint:ts:tslint lint:ts:preetier",
"lint:ts:tslint": "tslint --project tsconfig.json -t codeFrame 'pkg/**/*.ts'",
"lint:ts:preetier": "prettier --write pkg/**/*.ts",
"lint:rust": "cargo fmt",
"clean": "rimraf dist && rimraf pkg/*.wasm",
"release": "npm publish --access public --tag latest"
},
"author": "starcoinorg",
"license": "SEE LICENSE IN ./LICENSE",
"peerDependencies": {
"rollup": "2.x.x"
},
"devDependencies": {
"@allex/rollup-plugin-node-globals": "^0.0.2",
"@babel/core": "~7.16.0",
"@babel/node": "^7.17.10",
"@babel/plugin-proposal-object-rest-spread": "~7.16.0",
"@babel/preset-env": "~7.16.0",
"@babel/register": "~7.16.0",
"@crokita/rollup-plugin-node-builtins": "^2.1.3",
"@rollup/plugin-babel": "~5.3.0",
"@rollup/plugin-commonjs": "~21.0.1",
"@rollup/plugin-node-resolve": "~13.0.6",
"@rollup/plugin-url": "^6.1.0",
"@rollup/plugin-wasm": "^5.2.0",
"@types/jest": "^27.5.1",
"@types/karma": "^5.0.1",
"@types/mocha": "^8.2.0",
"@types/node": "^14.14.19",
"@wasm-tool/wasm-pack-plugin": "1.6.0",
"@zip.js/zip.js": "^2.4.12",
"babel-node": "^0.0.1-security",
"cross-env": "~7.0.3",
"eslint": "~7.18.0",
"husky": "^4.3.6",
"jasmine-core": "^4.1.0",
"jest": "^27.3.1",
"karma": "^6.3.18",
"karma-chrome-launcher": "^3.1.0",
"karma-jasmine": "^5.0.1",
"karma-mocha-reporter": "^2.2.5",
"karma-rollup2-preprocessor": "^1.0.1",
"npm-run-all": "~4.1.5",
"prettier": "^2.6.2",
"rimraf": "~3.0.2",
"rollup": "~2.60.0",
"rollup-plugin-node-builtins": "^2.1.2",
"rollup-plugin-node-globals": "^1.4.0",
"rollup-plugin-terser": "~7.0.2",
"rollup-plugin-typescript2": "^0.24.3",
"tslib": "^2.3.1",
"tslint": "^6.1.3",
"typescript": "^4.5.2"
},
"dependencies": {
"@iarna/toml": "^2.2.5",
"@swc/helpers": "^0.3.13",
"@wasmer/wasi": "^0.12.0",
"@wasmer/wasm-transformer": "^0.10.0",
"@wasmer/wasmfs": "^0.12.0"
}
}