mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-15 20:57:56 +08:00
* Collect all env vars in one, easy-to-find place Past state: * Default environement variables were stored in both client/package.json and client/__tests__/e2e/config.js * Constants that should have been linked--like the cellxgene server port during testing--were repeated. With this commit: * All environment variables are parameterized * All environment variables are packaged in default env files * Move npm scripts to client Makefile * Respond to feedback from @seve and @bkmartinjr
143 lines
4.2 KiB
JSON
143 lines
4.2 KiB
JSON
{
|
|
"name": "cellxgene",
|
|
"version": "0.14.0",
|
|
"license": "MIT",
|
|
"description": "cellxgene is a web application for the interactive exploration of single cell sequence data.",
|
|
"repository": "https://github.com/chanzuckerberg/cellxgene",
|
|
"scripts": {
|
|
"clean": "rimraf build",
|
|
"build": "npm run clean && webpack --config configuration/webpack/webpack.config.prod.js",
|
|
"dev": "npm run clean && webpack --config configuration/webpack/webpack.config.dev.js",
|
|
"fmt": "eslint --fix src",
|
|
"lint": "eslint src"
|
|
},
|
|
"engineStrict": true,
|
|
"engines": {
|
|
"npm": ">=3.0.0"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": "./configuration/eslint/eslint.js"
|
|
},
|
|
"eslintIgnore": [
|
|
"src/util/stateManager/matrix_generated.js"
|
|
],
|
|
"resolutions": {
|
|
"eslint-scope": "3.7.1"
|
|
},
|
|
"dependencies": {
|
|
"@blueprintjs/core": "^3.22.3",
|
|
"@blueprintjs/icons": "^3.13.0",
|
|
"@blueprintjs/select": "^3.11.2",
|
|
"client": "0.0.1",
|
|
"d3": "^4.10.0",
|
|
"d3-scale-chromatic": "^1.5.0",
|
|
"flatbuffers": "^1.11.0",
|
|
"fuzzysort": "^1.1.4",
|
|
"gl-mat4": "^1.1.4",
|
|
"gl-matrix": "^3.1.0",
|
|
"gl-vec3": "^1.1.3",
|
|
"is-number": "^7.0.0",
|
|
"lodash": "^4.17.15",
|
|
"memoize-one": "^5.1.1",
|
|
"react": "^16.12.0",
|
|
"react-autocomplete": "^1.7.2",
|
|
"react-dom": "^16.12.0",
|
|
"react-flip-toolkit": "7.0.6",
|
|
"react-helmet": "^5.2.1",
|
|
"react-icons": "^3.8.0",
|
|
"react-redux": "^7.1.3",
|
|
"redux": "^4.0.5",
|
|
"redux-thunk": "^2.2.0",
|
|
"regl": "^1.3.13"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.8.4",
|
|
"@babel/plugin-proposal-class-properties": "^7.8.3",
|
|
"@babel/plugin-proposal-decorators": "^7.8.3",
|
|
"@babel/plugin-proposal-export-namespace-from": "^7.8.3",
|
|
"@babel/plugin-proposal-function-bind": "^7.8.3",
|
|
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.8.3",
|
|
"@babel/plugin-proposal-optional-chaining": "^7.8.3",
|
|
"@babel/plugin-transform-react-constant-elements": "^7.8.3",
|
|
"@babel/plugin-transform-runtime": "^7.8.3",
|
|
"@babel/preset-env": "^7.8.4",
|
|
"@babel/preset-react": "^7.8.3",
|
|
"@babel/register": "^7.8.3",
|
|
"@babel/runtime": "^7.8.4",
|
|
"babel-eslint": "^10.0.3",
|
|
"babel-jest": "^25.1.0",
|
|
"babel-loader": "^8.0.6",
|
|
"babel-preset-modern-browsers": "^14.1.1",
|
|
"chalk": "^3.0.0",
|
|
"connect-history-api-fallback": "^1.6.0",
|
|
"copy-webpack-plugin": "^5.1.1",
|
|
"css-loader": "^3.4.2",
|
|
"eslint": "^6.8.0",
|
|
"eslint-config-airbnb": "^18.0.1",
|
|
"eslint-config-prettier": "^6.10.0",
|
|
"eslint-loader": "^3.0.3",
|
|
"eslint-plugin-filenames": "^1.3.2",
|
|
"eslint-plugin-import": "^2.20.1",
|
|
"eslint-plugin-jest": "^23.6.0",
|
|
"eslint-plugin-jsx-a11y": "^6.2.3",
|
|
"eslint-plugin-react": "^7.18.3",
|
|
"eslint-plugin-react-hooks": "^2.3.0",
|
|
"express": "^4.17.1",
|
|
"file-loader": "^5.0.2",
|
|
"html-webpack-inline-source-plugin": "0.0.10",
|
|
"html-webpack-plugin": "^3.2.0",
|
|
"jest": "^25.1.0",
|
|
"jest-puppeteer": "^4.4.0",
|
|
"json-loader": "^0.5.4",
|
|
"mini-css-extract-plugin": "^0.9.0",
|
|
"puppeteer": "^2.1.1",
|
|
"rimraf": "^3.0.1",
|
|
"serve-favicon": "^2.3.0",
|
|
"style-loader": "^1.1.3",
|
|
"sw-precache-webpack-plugin": "^1.0.0",
|
|
"url-loader": "^3.0.0",
|
|
"webpack": "^4.41.5",
|
|
"webpack-cli": "^3.3.10",
|
|
"webpack-dev-middleware": "^3.7.2"
|
|
},
|
|
"jest": {
|
|
"testMatch": [
|
|
"**/__tests__/**/?(*.)(spec|test).js?(x)"
|
|
],
|
|
"testURL": "http://localhost/",
|
|
"setupFiles": [
|
|
"./__tests__/setupMissingGlobals.js"
|
|
]
|
|
},
|
|
"babel": {
|
|
"env": {
|
|
"test": {
|
|
"presets": [
|
|
"@babel/preset-env",
|
|
"@babel/preset-react"
|
|
],
|
|
"plugins": [
|
|
"@babel/plugin-proposal-function-bind",
|
|
[
|
|
"@babel/plugin-proposal-decorators",
|
|
{
|
|
"legacy": true
|
|
}
|
|
],
|
|
[
|
|
"@babel/plugin-proposal-class-properties",
|
|
{
|
|
"loose": true
|
|
}
|
|
],
|
|
"@babel/plugin-proposal-export-namespace-from",
|
|
"@babel/plugin-transform-react-constant-elements",
|
|
"@babel/plugin-transform-runtime",
|
|
"@babel/plugin-proposal-optional-chaining",
|
|
"@babel/plugin-proposal-nullish-coalescing-operator"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|