mirror of
https://github.com/dolthub/dolt.git
synced 2026-01-28 10:46:21 -06:00
A lot of the JS code is taken from the old splore sample, but in
particular main.js is completely different - much simpler, because the
architecture of noms-splore uses a specialised {path => node} HTTP API,
implemented in Go, which does the noms graph traversal.
noms-splore also improves on the old splore sample by making it more
obvious what the key/value pairs are for maps and structs, but regresses
slightly in what it can say about prollytrees.
32 lines
985 B
JSON
32 lines
985 B
JSON
{
|
|
"name": "noms-splore",
|
|
"license": "Apache-2.0",
|
|
"scripts": {
|
|
"build": "webpack src/main.js out.js -d -p",
|
|
"buildgo": "npm run build && python ./js2go.py out.js splore outJs > out.js.go && rm out.js",
|
|
"prettier": "prettier --single-quote --trailing-comma all --bracket-spacing false --print-width 100 --write src/*.js src/**/*.js",
|
|
"start": "webpack src/main.js out.js -d -w",
|
|
"test": "eslint src/ && flow src/"
|
|
},
|
|
"dependencies": {
|
|
"babel-cli": "^6.24.1",
|
|
"babel-core": "^6.25.0",
|
|
"babel-eslint": "^7.2.3",
|
|
"babel-loader": "^7.1.1",
|
|
"babel-preset-stage-3": "^6.24.1",
|
|
"eslint": "^3.5.0",
|
|
"flow-bin": "^0.45.0",
|
|
"humanize": "0.0.9",
|
|
"prettier": "^1.5.3",
|
|
"react": "^15.6.1",
|
|
"react-dom": "^15.6.1",
|
|
"webpack": "^3.5.3"
|
|
},
|
|
"devDependencies": {
|
|
"babel-preset-es2015": "^6.24.1",
|
|
"babel-preset-react": "^6.24.1",
|
|
"eslint-plugin-flowtype": "^2.32.1",
|
|
"eslint-plugin-react": "^6.10.3"
|
|
}
|
|
}
|