Skip to content
Snippets Groups Projects
Commit 33e41adc authored by Clayton, Brandon Scott's avatar Clayton, Brandon Scott
Browse files

add setup files

parent bbd64836
No related branches found
No related tags found
1 merge request!1Disagg Plotter
# Editor configuration, see https://editorconfig.org
root = true
[*]
charset = utf-8
indent_style = space
indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true
[*.md]
max_line_length = off
trim_trailing_whitespace = false
.DS_Store
dist
node_modules
.DS_Store
dist
node_modules
example
package.json
package-lock.json
yarn.lock
dist
{
"bracketSpacing": true,
"semi": true,
"singleQuote": true,
"printWidth": 100,
"useTabs": false,
"tabWidth": 2
}
This diff is collapsed.
{
"name": "@nshmp/disagg-d3",
"version": "0.0.1",
"description": "Disaggregation plots using D3, ported from hazdev",
"main": "src/index.js",
"types": "types/index.d.ts",
"scripts": {
"pre-commit": "pretty-quick --staged && npm run tslint",
"pre-push": "npm run pre-commit",
"tslint": "tslint -c tslint.json 'types/**/*.d.ts' 'src/**/*.d.ts'",
"tslint:fix": "npm run tslint -- --fix",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "https://code.usgs.gov/ghsc/nshmp/disagg-d3"
},
"author": "",
"license": "ISC",
"devDependencies": {
"@types/d3": "^3.5.43",
"@types/node": "^14.6.0",
"husky": "^4.2.5",
"prettier": "^2.1.0",
"pretty-quick": "^3.0.0",
"tslint": "^6.1.3",
"tslint-etc": "^1.13.6",
"typescript": "^4.0.2"
},
"dependencies": {
"@nshmp/nshmp-utils": "^1.2.5",
"d3": "^3.5.17"
},
"husky": {
"hooks": {
"pre-commit": "npm run pre-commit",
"pre-push": "npm run pre-push"
}
}
}
{
"extends": ["tslint:recommended", "tslint-etc"],
"rules": {
"array-type": false,
"arrow-parens": false,
"interface-name": false,
"max-classes-per-file": false,
"max-line-length": [
true,
{
"limit": 100,
"ignore-pattern": "^import |^export {(.*?)}",
"check-strings": true,
"check-regex": true
}
],
"member-access": false,
"member-ordering": [
true,
{
"order": ["static-field", "instance-field", "static-method", "instance-method"]
}
],
"no-consecutive-blank-lines": false,
"no-console": [true, "debug", "info", "time", "timeEnd", "trace"],
"no-empty": false,
"no-inferrable-types": [true, "ignore-params"],
"no-non-null-assertion": true,
"no-redundant-jsdoc": true,
"no-switch-case-fall-through": true,
"no-var-requires": false,
"object-literal-key-quotes": [true, "as-needed"],
"object-literal-sort-keys": false,
"ordered-imports": true,
"quotemark": [true, "single"],
"trailing-comma": false
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment