-
Notifications
You must be signed in to change notification settings - Fork 46
/
package.json
79 lines (79 loc) · 2.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
{
"name": "@neurosity/sdk",
"version": "6.5.10",
"description": "Neurosity SDK",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"browser": "dist/browser/neurosity.js",
"typings": "dist/esm/index.d.ts",
"scripts": {
"prebuild": "npm run clean",
"build": "npm run build:cjs && npm run build:esm && npm run build:browser && npm run build:electron && npm run build:examples",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:docs": "npm run build:typedoc && cd website && npm install && npm run build",
"build:typedoc": "del docs/reference && typedoc",
"build:esm": "tsc -p tsconfig.esm.json && npm run build:esm:bundle",
"build:esm:bundle": "rollup -c",
"build:browser": "parcel build ./src/index.ts --target browser --out-dir dist/browser --out-file neurosity.js && npm run build:browser:iife",
"build:browser:iife": "rollup ./dist/esm/neurosity.mjs --file dist/browser/neurosity.iife.js --format iife --name 'Neurosity'",
"build:electron": "parcel build ./src/index.ts --target electron --out-dir dist/electron",
"build:examples": "copyfiles -f ./dist/esm/*.mjs ./dist/browser/*.js ./dist/examples && parcel build ./examples/browser/index.html --target browser --out-dir dist/examples",
"serve:examples": "lite-server --baseDir=./dist/examples",
"examples:browser": "npm run build:esm && npm run build:examples && parcel watch ./examples/browser/index.html --out-dir dist/examples | npm run serve:examples",
"examples:node": "npm run build:cjs && node ./examples/node",
"start": "tsc -w",
"clean": "del dist",
"prepublishOnly": "npm run build"
},
"files": [
"dist"
],
"repository": {
"type": "git",
"url": "git+https://github.com/neurosity/neurosity-sdk-js.git"
},
"keywords": [
"neurosity",
"api",
"client",
"neurosity"
],
"engines": {
"node": ">=4"
},
"author": "Alex Castillo",
"license": "MIT",
"bugs": {
"url": "https://github.com/neurosity/neurosity-sdk-js/issues"
},
"homepage": "https://docs.neurosity.co",
"dependencies": {
"@neurosity/ipk": "^2.12.0",
"axios": "^1.6.2",
"buffer": "^6.0.3",
"fast-deep-equal": "^3.1.3",
"firebase": "^8.10.1",
"outliers": "0.0.3",
"rxjs": "^7.5.6",
"semver": "^7.3.8"
},
"devDependencies": {
"@types/node": "^12.0.4",
"@types/web-bluetooth": "^0.0.16",
"copyfiles": "^2.3.0",
"del-cli": "^1.1.0",
"dotenv": "^6.0.0",
"esbuild": "^0.15.9",
"inquirer": "^6.0.0",
"lite-server": "^2.6.1",
"parcel": "^1.12.4",
"parcel-bundler": "^1.12.4",
"rollup": "^0.61.2",
"rollup-plugin-commonjs": "^9.1.3",
"rollup-plugin-node-resolve": "^3.3.0",
"typedoc": "^0.17.4",
"typedoc-plugin-internal-external": "^2.0.2",
"typedoc-plugin-markdown": "^2.2.17",
"typescript": "^4.8.3"
}
}