-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
61 lines (61 loc) · 2.17 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
{
"name": "@bscotch/rumpus-ce",
"version": "2.1.0",
"description": "Rumpus Community Edition SDK (Rumpus CE SDK), for creating browser and Node.js applications that use Levelhead data.",
"main": "build/index.js",
"browser": "browser/index.js",
"files": [
"build/lib/**/*",
"build/index.*",
"build/types/**/*",
"browser/index.js",
"browser/index.js.map"
],
"scripts": {
"test": "mocha --inspect --require source-map-support/register --bail ./build/test/index.js",
"build": "npm run _build:node && npm run _build:browser && npm run _build:sample",
"version": "npm run build && git add -A",
"postversion": "git push origin develop && npm publish && npm run _publish:gh-pages",
"_build:node": "rm -rf build && tsc ",
"_build:browser": "esbuild src/index.ts --bundle --sourcemap --target=chrome58,firefox57,safari11,edge16 --outdir=browser --format=esm --inject:browser/node-shims.js",
"_build:sample": "npm run _set-readme-version && marked --gfm --input README.md -o browser/readme.html",
"_set-readme-version": "node -p \"let f='README.md',version=require('./package').version;fs=require('fs');fs.writeFileSync(f,fs.readFileSync(f,'utf-8').replace(/@(latest|\\d+\\.\\d+\\.\\d+\\b)/g, '@'+version));\"",
"_publish:gh-pages": "gh-pages-clean && gh-pages -d browser"
},
"keywords": [
"rumpus",
"api",
"bscotch",
"butterscotch shenanigans",
"levelhead",
"levels"
],
"repository": {
"type": "git",
"url": "git+https://github.com/bscotch/rumpus-ce.git"
},
"author": "Adam Coster",
"license": "MIT",
"homepage": "https://github.com/bscotch/rumpus-ce#readme",
"dependencies": {
"axios": "^0.26.0"
},
"devDependencies": {
"@types/axios": "^0.14.0",
"@types/chai": "^4.3.0",
"@types/mocha": "^9.1.0",
"@types/node": "^17.0.18",
"@typescript-eslint/eslint-plugin": "^5.12.0",
"@typescript-eslint/parser": "^5.12.0",
"chai": "^4.3.6",
"dotenv": "^16.0.0",
"esbuild": "^0.14.23",
"eslint": "^8.9.0",
"gh-pages": "^3.2.3",
"marked": "^4.0.12",
"mocha": "^9.2.1",
"prettier": "^2.5.1",
"source-map-support": "^0.5.21",
"typescript": "^4.5.5"
}
}