This repository has been archived by the owner on Mar 18, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
68 lines (68 loc) · 2.68 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
{
"name": "@chainsafe/as-sha256",
"version": "0.2.4",
"description": "An AssemblyScript implementation of SHA256",
"author": "ChainSafe Systems",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/ChainSafe/as-sha256/issues"
},
"homepage": "https://github.com/ChainSafe/as-sha256#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/chainsafe/as-sha256.git"
},
"main": "lib/index.js",
"types": "lib/index.d.ts",
"files": [
"lib",
"build"
],
"scripts": {
"prebuild": "rm -rf ./dist",
"prepublish": "yarn build",
"build": "yarn asbuild:untouched && yarn asbuild:optimized && yarn build:lib",
"asbuild:untouched": "asc assembly/index.ts -b build/untouched.wasm -t build/untouched.wat --runtime none --validate --debug",
"asbuild:optimized": "asc assembly/index.ts -b build/optimized.wasm -t build/optimized.wat --runtime none --validate -O3z --noAssert",
"build:lib": "babel src -d lib --copy-files",
"build:web": "webpack --mode production --entry ./index.js --output ./dist/as-sha256.min.js",
"test": "yarn run test:as-ci && yarn run test:unit",
"test:unit": "yarn run test:unit:node && yarn run test:unit:browser",
"test:unit:node": "mocha -r .babel-register test/*.spec.js",
"benchmark": "node ./node_modules/.bin/benchmark 'test/benchmark.test.js'",
"benchmark:local": "yarn benchmark --local",
"test:unit:browser": "karma start --single-run --browsers ChromeHeadless,FirefoxHeadless karma.config.js",
"test:ci": "yarn test:as-ci",
"test:as": "asp --nortrace --verbose",
"test:as-ci": "asp --nortrace 2> /dev/null"
},
"dependencies": {
"@assemblyscript/loader": "^0.9.2",
"buffer": "^5.4.3"
},
"devDependencies": {
"@as-pect/assembly": "2.8.1",
"@as-pect/cli": "2.8.1",
"@as-pect/core": "2.8.1",
"@babel/cli": "^7.6.0",
"@babel/core": "^7.6.0",
"@babel/preset-env": "^7.6.0",
"@babel/register": "^7.7.4",
"@chainsafe/babel-plugin-inline-binary-import": "^1.0.3",
"assemblyscript": "0.9.2",
"babel-loader": "^8.0.6",
"benchmark": "^2.1.4",
"chai": "^4.2.0",
"karma": "^4.4.1",
"karma-babel-preprocessor": "^8.0.1",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^3.1.0",
"karma-firefox-launcher": "^1.2.0",
"karma-mocha": "^1.3.0",
"karma-webpack": "^4.0.2",
"@dapplion/benchmark": "^0.1.6",
"mocha": "^8.3.0",
"webpack": "^4.39.3",
"webpack-cli": "^3.3.7"
}
}