properties-file 2.1.3 → 2.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -21
- package/README.md +215 -215
- package/lib/content/index.d.ts +18 -18
- package/lib/content/index.js +61 -61
- package/lib/file/index.d.ts +21 -21
- package/lib/file/index.js +32 -32
- package/lib/index.d.ts +10 -10
- package/lib/index.js +12 -12
- package/lib/loader/webpack.d.ts +8 -8
- package/lib/loader/webpack.js +14 -14
- package/lib/properties-file.d.ts +7 -7
- package/lib/properties.d.ts +55 -55
- package/lib/properties.js +91 -91
- package/lib/property-line.d.ts +22 -22
- package/lib/property-line.js +48 -48
- package/lib/property.d.ts +64 -64
- package/lib/property.js +205 -205
- package/package.json +80 -80
package/package.json
CHANGED
|
@@ -1,80 +1,80 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "properties-file",
|
|
3
|
-
"version": "2.1.
|
|
4
|
-
"description": ".properties file parser, JSON converter and Webpack loader.",
|
|
5
|
-
"author": "Avansai (https://avansai.com)",
|
|
6
|
-
"repository": {
|
|
7
|
-
"type": "git",
|
|
8
|
-
"url": "git+https://github.com/Avansai/properties-file.git"
|
|
9
|
-
},
|
|
10
|
-
"main": "lib/index.js",
|
|
11
|
-
"types": "lib/index.d.ts",
|
|
12
|
-
"exports": {
|
|
13
|
-
".": "./lib/index.js",
|
|
14
|
-
"./content": "./lib/content/index.js",
|
|
15
|
-
"./webpack-loader": "./lib/loader/webpack.js"
|
|
16
|
-
},
|
|
17
|
-
"typesVersions": {
|
|
18
|
-
"*": {
|
|
19
|
-
"content": [
|
|
20
|
-
"lib/content/index.d.ts"
|
|
21
|
-
],
|
|
22
|
-
"webpack-loader": [
|
|
23
|
-
"lib/loader/webpack.d.ts"
|
|
24
|
-
]
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
"license": "MIT",
|
|
28
|
-
"files": [
|
|
29
|
-
"lib"
|
|
30
|
-
],
|
|
31
|
-
"keywords": [
|
|
32
|
-
".properties",
|
|
33
|
-
"properties",
|
|
34
|
-
".properties file",
|
|
35
|
-
"properties file",
|
|
36
|
-
"parser",
|
|
37
|
-
"Java",
|
|
38
|
-
"intl",
|
|
39
|
-
"i18n",
|
|
40
|
-
"properties Webpack loader",
|
|
41
|
-
"Webpack loader",
|
|
42
|
-
"internationalization"
|
|
43
|
-
],
|
|
44
|
-
"scripts": {
|
|
45
|
-
"build": "npm run prettier && npm run lint-fix && rm -Rf ./lib && tsc && npm run add-import-type && npm run test",
|
|
46
|
-
"lint-fix": "eslint --ext .js --ext .jsx --ext .ts --ext .tsx --fix .",
|
|
47
|
-
"lint-check": "eslint --ext .js --ext .jsx --ext .ts --ext .tsx .",
|
|
48
|
-
"lint-print-config": "eslint --print-config ./eslintrc.yaml",
|
|
49
|
-
"prettier": "prettier --write .",
|
|
50
|
-
"add-import-type": "node ./src/add-import-type.mjs",
|
|
51
|
-
"test": "jest --coverage",
|
|
52
|
-
"release": "dotenv -- release-it --only-version"
|
|
53
|
-
},
|
|
54
|
-
"devDependencies": {
|
|
55
|
-
"@release-it/conventional-changelog": "^5.1.0",
|
|
56
|
-
"@types/jest": "^29.0.
|
|
57
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
58
|
-
"@typescript-eslint/parser": "^5.
|
|
59
|
-
"dotenv-cli": "^6.0.0",
|
|
60
|
-
"eslint": "^8.23.
|
|
61
|
-
"eslint-config-prettier": "^8.5.0",
|
|
62
|
-
"eslint-import-resolver-node": "^0.3.6",
|
|
63
|
-
"eslint-import-resolver-typescript": "^3.5.
|
|
64
|
-
"eslint-plugin-import": "^2.26.0",
|
|
65
|
-
"eslint-plugin-jest": "^27.0.
|
|
66
|
-
"eslint-plugin-prettier": "^4.2.1",
|
|
67
|
-
"eslint-plugin-unicorn": "^43.0.2",
|
|
68
|
-
"jest": "^29.0.
|
|
69
|
-
"prettier": "^2.7.1",
|
|
70
|
-
"prettier-plugin-organize-imports": "^3.1.
|
|
71
|
-
"prettier-plugin-sh": "^0.12.8",
|
|
72
|
-
"release-it": "^15.4.
|
|
73
|
-
"ts-jest": "^
|
|
74
|
-
"ts-node": "^10.9.1",
|
|
75
|
-
"typescript": "^4.8.
|
|
76
|
-
},
|
|
77
|
-
"engines": {
|
|
78
|
-
"node": "^14.18.1 || ^16.0.0"
|
|
79
|
-
}
|
|
80
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "properties-file",
|
|
3
|
+
"version": "2.1.5",
|
|
4
|
+
"description": ".properties file parser, JSON converter and Webpack loader.",
|
|
5
|
+
"author": "Avansai (https://avansai.com)",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/Avansai/properties-file.git"
|
|
9
|
+
},
|
|
10
|
+
"main": "lib/index.js",
|
|
11
|
+
"types": "lib/index.d.ts",
|
|
12
|
+
"exports": {
|
|
13
|
+
".": "./lib/index.js",
|
|
14
|
+
"./content": "./lib/content/index.js",
|
|
15
|
+
"./webpack-loader": "./lib/loader/webpack.js"
|
|
16
|
+
},
|
|
17
|
+
"typesVersions": {
|
|
18
|
+
"*": {
|
|
19
|
+
"content": [
|
|
20
|
+
"lib/content/index.d.ts"
|
|
21
|
+
],
|
|
22
|
+
"webpack-loader": [
|
|
23
|
+
"lib/loader/webpack.d.ts"
|
|
24
|
+
]
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"license": "MIT",
|
|
28
|
+
"files": [
|
|
29
|
+
"lib"
|
|
30
|
+
],
|
|
31
|
+
"keywords": [
|
|
32
|
+
".properties",
|
|
33
|
+
"properties",
|
|
34
|
+
".properties file",
|
|
35
|
+
"properties file",
|
|
36
|
+
"parser",
|
|
37
|
+
"Java",
|
|
38
|
+
"intl",
|
|
39
|
+
"i18n",
|
|
40
|
+
"properties Webpack loader",
|
|
41
|
+
"Webpack loader",
|
|
42
|
+
"internationalization"
|
|
43
|
+
],
|
|
44
|
+
"scripts": {
|
|
45
|
+
"build": "npm run prettier && npm run lint-fix && rm -Rf ./lib && tsc && npm run add-import-type && npm run test",
|
|
46
|
+
"lint-fix": "eslint --ext .js --ext .jsx --ext .ts --ext .tsx --fix .",
|
|
47
|
+
"lint-check": "eslint --ext .js --ext .jsx --ext .ts --ext .tsx .",
|
|
48
|
+
"lint-print-config": "eslint --print-config ./eslintrc.yaml",
|
|
49
|
+
"prettier": "prettier --write .",
|
|
50
|
+
"add-import-type": "node ./src/add-import-type.mjs",
|
|
51
|
+
"test": "jest --coverage",
|
|
52
|
+
"release": "dotenv -- release-it --only-version"
|
|
53
|
+
},
|
|
54
|
+
"devDependencies": {
|
|
55
|
+
"@release-it/conventional-changelog": "^5.1.0",
|
|
56
|
+
"@types/jest": "^29.0.2",
|
|
57
|
+
"@typescript-eslint/eslint-plugin": "^5.37.0",
|
|
58
|
+
"@typescript-eslint/parser": "^5.37.0",
|
|
59
|
+
"dotenv-cli": "^6.0.0",
|
|
60
|
+
"eslint": "^8.23.1",
|
|
61
|
+
"eslint-config-prettier": "^8.5.0",
|
|
62
|
+
"eslint-import-resolver-node": "^0.3.6",
|
|
63
|
+
"eslint-import-resolver-typescript": "^3.5.1",
|
|
64
|
+
"eslint-plugin-import": "^2.26.0",
|
|
65
|
+
"eslint-plugin-jest": "^27.0.4",
|
|
66
|
+
"eslint-plugin-prettier": "^4.2.1",
|
|
67
|
+
"eslint-plugin-unicorn": "^43.0.2",
|
|
68
|
+
"jest": "^29.0.3",
|
|
69
|
+
"prettier": "^2.7.1",
|
|
70
|
+
"prettier-plugin-organize-imports": "^3.1.1",
|
|
71
|
+
"prettier-plugin-sh": "^0.12.8",
|
|
72
|
+
"release-it": "^15.4.2",
|
|
73
|
+
"ts-jest": "^29.0.1",
|
|
74
|
+
"ts-node": "^10.9.1",
|
|
75
|
+
"typescript": "^4.8.3"
|
|
76
|
+
},
|
|
77
|
+
"engines": {
|
|
78
|
+
"node": "^14.18.1 || ^16.0.0"
|
|
79
|
+
}
|
|
80
|
+
}
|