-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
32 lines (32 loc) · 1.14 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
{
"name": "raffle",
"version": "1.0.0",
"description": "Calculates odds of winning in raffles",
"homepage": "https://github.com/davidje13/Raffle",
"repository": {
"type": "git",
"url": "https://github.com/davidje13/Raffle.git"
},
"bugs": {
"url": "https://github.com/davidje13/Raffle/issues"
},
"license": "LGPL-3.0",
"files": [
"Raffle.js",
"raffle-worker.js"
],
"main": "Raffle",
"scripts": {
"build": "mkdir -p wasm/dist && emcc -O3 wasm/src/main.c -o wasm/dist/main.wasm -s INITIAL_MEMORY=11MB -s TOTAL_STACK=64kB -s ERROR_ON_UNDEFINED_SYMBOLS=0 --no-entry -mnontrapping-fptoint -Wall -Wextra --pedantic -Wshorten-64-to-32 -Wfloat-conversion -Wpadded -Wshadow -Wmissing-variable-declarations",
"check": "npm run build && npm run lint && npm run test",
"lint": "eslint . --ext .js --ignore-pattern '!.eslintrc.js'",
"start": "static-server --index index.htm --port 8080",
"test": "gcc -O3 wasm/spec/main.c -o wasm/spec/runner && ./wasm/spec/runner && jasmine"
},
"devDependencies": {
"eslint": "8.x",
"eslint-plugin-jasmine": "4.x",
"jasmine": "3.x",
"static-server": "^2.2.1"
}
}