-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
54 lines (54 loc) · 2.53 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
{
"name": "exorbitant",
"version": "0.0.20",
"description": "Web calculator library",
"main": "dist/exorbitant-in-process.js",
"module": "source/exorbitant-in-process.js",
"repository": {
"type": "git",
"url": "git+https://github.com/rajsite/exorbitant.git"
},
"author": "Milan Raj (@rajsite)",
"license": "MIT",
"bugs": {
"url": "https://github.com/rajsite/exorbitant/issues"
},
"homepage": "https://github.com/rajsite/exorbitant#readme",
"files": [
"dist/*",
"source/*.js"
],
"scripts": {
"build": "make build",
"test": "npm run example:node",
"lint": "eslint .",
"format": "eslint . --fix",
"build:development": "make build CONFIGURATION=development",
"clean": "rimraf dist",
"validate": "npm run clean && npm run build && npm test",
"validate:development": "npm run clean && npm run build:development && npm test",
"make:bundle": "rollup --config rollup.config.js",
"make:validator": "npm run make:validator:schema && npm run make:validator:cjs && npm run make:validator:module",
"make:validator:schema": "ts-json-schema-generator --additional-properties true --path source/types/configuration.ts --type configuration -o dist/types/configuration.schema.json",
"make:validator:cjs": "ajv compile --strict=true --code-lines -s dist/types/configuration.schema.json -o dist/types/configuration.cjs",
"make:validator:module": "rollup dist/types/configuration.cjs --format es --plugin @rollup/plugin-commonjs --file dist/types/configuration.js",
"make:vendor": "rollup source/vendor/comlink.js --format es --plugin @rollup/plugin-node-resolve --file dist/vendor/comlink.js",
"example:node": "npm run example:node:simple && npm run example:node:variable && npm run example:node:vector && npm run example:node:wasi",
"example:node:simple": "node example/node/simple.js",
"example:node:variable": "node example/node/variable.js",
"example:node:vector": "node example/node/vector.js",
"example:node:wasi": "node --experimental-wasi-unstable-preview1 --experimental-wasm-bigint example/node/wasi.js",
"example:wasmer": "wasmer run --disable-cache dist/exprtkcore.wasm",
"install:emsdk": "cd imports/emsdk && emsdk install 3.0.1 && emsdk activate 3.0.1"
},
"devDependencies": {
"@ni/eslint-config-javascript": "^3.0.1",
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-node-resolve": "^13.1.1",
"ajv-cli": "^5.0.0",
"comlink": "^4.3.1",
"rimraf": "^3.0.2",
"rollup": "^2.61.1",
"ts-json-schema-generator": "^0.97.0"
}
}