This repository was archived by the owner on Sep 16, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
53 lines (53 loc) · 1.8 KB
/
Copy pathpackage.json
File metadata and controls
53 lines (53 loc) · 1.8 KB
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
{
"name": "@findbycolor/fbc-orm-schema",
"version": "0.2.0",
"description": "Find By Color Object Relational Mapping Schema",
"author": "Find By Color",
"license": "UNLICENSE",
"type": "commonjs",
"publishConfig": {
"registry": "https://npm.pkg.github.com"
},
"engines": {
"node": ">= 14.17.3",
"npm": ">= 6.14.13"
},
"contributors": [
{
"name": "Peter Schmalfeldt",
"email": "me@peterschmalfeldt.com",
"url": "https://peterschmalfeldt.com"
}
],
"scripts": {
"test": "./node_modules/.bin/eslint 'api-models/*.js' --fix",
"fix:integer": "for i in ./api-models/*.js; do sed -i '' 's/DataTypes.INTEGER.UNSIGNED(10)/DataTypes.INTEGER(10).UNSIGNED/g' $i; done",
"fix:decimal": "for i in ./api-models/*.js; do sed -i '' 's/DataTypes.DECIMAL.UNSIGNED(8, 2)/DataTypes.DECIMAL(8, 2).UNSIGNED/g' $i; done",
"fix:whitespace": "for i in ./api-models/*.js; do sed -i '' '/^$/d' $i; done",
"fix:beautify": "./node_modules/.bin/js-beautify ./api-models/*.js --editorconfig true",
"fix": "npm run -s fix:integer && npm run -s fix:decimal && npm run fix:whitespace && npm run -s fix:beautify && npm run -s test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/FindByColor/orm-schema.git"
},
"bugs": {
"url": "https://github.com/FindByColor/orm-schema/issues"
},
"homepage": "https://github.com/FindByColor/orm-schema#readme",
"devDependencies": {
"babel-eslint": "^10.1.0",
"eslint": "^8.1.0",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-html": "^6.2.0",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^5.1.1",
"eslint-plugin-sequelize": "^1.0.4",
"js-beautify": "^1.14.0",
"pre-commit": "^1.2.2"
},
"pre-commit": [
"fix"
]
}