Compare commits

...

2 Commits

Author SHA1 Message Date
Tykayn 5f20228495 ignore modules 2023-07-01 12:48:46 +02:00
Tykayn f737bc1516 add packages and scripts in package.json 2023-07-01 12:46:34 +02:00
9 changed files with 5439 additions and 0 deletions

3
.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
.idea
node_modules
build

8
.idea/.gitignore vendored Normal file
View File

@ -0,0 +1,8 @@
# Default ignored files
/shelf/
/workspace.xml
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml
# Editor-based HTTP Client requests
/httpRequests/

6
.idea/misc.xml Normal file
View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="JavaScriptSettings">
<option name="languageLevel" value="ES6" />
</component>
</project>

8
.idea/modules.xml Normal file
View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/rangement.iml" filepath="$PROJECT_DIR$/.idea/rangement.iml" />
</modules>
</component>
</project>

8
.idea/rangement.iml Normal file
View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="WEB_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

6
.idea/vcs.xml Normal file
View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>

13
jest.config.ts Normal file
View File

@ -0,0 +1,13 @@
/*
* For a detailed explanation regarding each configuration property and type check, visit:
* https://jestjs.io/docs/configuration
*/
module.exports = {
testRegex: "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|js?|tsx?|ts?)$",
transform: {
"^.+\\.jsx?$": "babel-jest",
"^.+\\.mjs$": "babel-jest",
},
testPathIgnorePatterns: ["<rootDir>/build/", "<rootDir>/node_modules/"],
moduleFileExtensions: ["js", "jsx", "mjs"]
}

5345
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

42
package.json Normal file
View File

@ -0,0 +1,42 @@
{
"name": "rangement",
"version": "1.0.0",
"description": "sorting utilities and file tagging using PIM methodology of Karl Voit",
"main": "index.mjs",
"scripts": {
"start": "nodemon index.mjs testFiles/2sqdf45s5g456ghdf.jpg",
"devine": "node index.mjs",
"test": "jest"
},
"repository": {
"type": "git",
"url": "https://forge.chapril.org/tykayn/rangement.git"
},
"keywords": [
"pim",
"nodejs",
"sorting",
"file",
"rename",
"tag",
"guessfilename"
],
"author": "tykayn contact+rangement@cipherbliss.com",
"license": "AGPL-3.0-or-later",
"dependencies": {
"exifr": "^7.1.3",
"minimist": "^1.2.8",
"moment": "^2.29.4",
"node-fs": "^0.1.7"
},
"devDependencies": {
"@babel/core": "^7.22.5",
"@babel/preset-env": "^7.22.5",
"@babel/preset-typescript": "^7.22.5",
"@jest/globals": "^29.5.0",
"babel-jest": "^29.5.0",
"jest": "^29.5.0",
"nodemon": "^2.0.22",
"ts-node": "^10.9.1"
}
}