@incubateur-ademe/nosgestesclimat 3.3.0
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 -0
- package/README.md +75 -0
- package/index.d.ts +1729 -0
- package/index.js +4 -0
- package/package.json +83 -0
package/index.js
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@incubateur-ademe/nosgestesclimat",
|
|
3
|
+
"version": "3.3.0",
|
|
4
|
+
"description": "Le modèle de calcul d'empreinte climat individuelle de consommation",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"types": "index.d.ts",
|
|
7
|
+
"module": "index.js",
|
|
8
|
+
"files": [
|
|
9
|
+
"nogestesclimat.model.json",
|
|
10
|
+
"index.js",
|
|
11
|
+
"index.d.ts"
|
|
12
|
+
],
|
|
13
|
+
"scripts": {
|
|
14
|
+
"build": "node build.mjs",
|
|
15
|
+
"compile:md": "node scripts/rulesToJSON.mjs --markdown && node scripts/personasToJSON.js --markdown && node scripts/documentationToJSON.js --markdown",
|
|
16
|
+
"compile": "node scripts/rulesToJSON.mjs && node scripts/personasToJSON.js && node scripts/documentationToJSON.js",
|
|
17
|
+
"compile:fr": "node scripts/rulesToJSON.mjs -o FR && node scripts/personasToJSON.js && node scripts/documentationToJSON.js",
|
|
18
|
+
"compile:personas": "node scripts/personasToJSON.js",
|
|
19
|
+
"compile:rules": "node scripts/rulesToJSON.mjs",
|
|
20
|
+
"compile:rules-watch": "nodemon -e \"publicodes js mjs\" --watch data/ --watch scripts/ scripts/rulesToJSON.mjs",
|
|
21
|
+
"compile:rules-watch:fr": "nodemon -e \"publicodes js mjs\" --watch data/ --watch scripts/ scripts/rulesToJSON.mjs -t fr -o FR",
|
|
22
|
+
"compile-watch": "nodemon -e \"publicodes js mjs\" --watch data/ --watch scripts/ scripts/rulesToJSON.mjs & nodemon -e publicodes --watch personas/ scripts/personasToJSON.js & nodemon -e md --watch contenu-ecrit/ scripts/documentationToJSON.js ",
|
|
23
|
+
"serve": "yarn run http-server --cors -p 9000",
|
|
24
|
+
"dev": "yarn run compile-watch & yarn run serve",
|
|
25
|
+
"dev:rules-fr": "yarn run compile:rules-watch:fr & yarn run serve",
|
|
26
|
+
"test:personas": "node tests/testPersonas.mjs",
|
|
27
|
+
"test:optim": "node tests/testOptim.mjs",
|
|
28
|
+
"translate": "node scripts/i18n/translate-rules.js && node scripts/i18n/translate-personas.js",
|
|
29
|
+
"check:personas": "node scripts/i18n/check-personas.js ",
|
|
30
|
+
"translate:personas": "node scripts/i18n/translate-personas.js",
|
|
31
|
+
"check:rules": "node scripts/i18n/check-translation.mjs",
|
|
32
|
+
"translate:rules": "node scripts/i18n/translate-rules.mjs",
|
|
33
|
+
"generate:servicesRules": "node scripts/services-societaux/analyze_naf_ca.js && node scripts/services-societaux/desagregate_naf_SDES.js && node scripts/services-societaux/generate_rules.js",
|
|
34
|
+
"translate:model": "node scripts/i18n/translateRegionModel.js"
|
|
35
|
+
},
|
|
36
|
+
"contributors": [
|
|
37
|
+
"Clément Auger <clement.auger@beta.gouv.fr>",
|
|
38
|
+
"Benjamin Boisserie",
|
|
39
|
+
"Julie Pouliquen <julie.pouliquen@gmail.com>",
|
|
40
|
+
"Emile Rolley <emile.rolley@tuta.io>",
|
|
41
|
+
"Maël Thomas <laem@kont.me>"
|
|
42
|
+
],
|
|
43
|
+
"license": "MIT",
|
|
44
|
+
"repository": {
|
|
45
|
+
"type": "git",
|
|
46
|
+
"url": "git+https://github.com/incubateur-ademe/nosgestesclimat.git"
|
|
47
|
+
},
|
|
48
|
+
"bugs": {
|
|
49
|
+
"url": "https://github.com/incubateur-ademe/nosgestesclimat/issues"
|
|
50
|
+
},
|
|
51
|
+
"homepage": "https://github.com/incubateur-ademe/nosgestesclimat#readme",
|
|
52
|
+
"dependencies": {
|
|
53
|
+
"csv-parser": "^3.0.0",
|
|
54
|
+
"futureco-data": "^0.0.1-beta.7",
|
|
55
|
+
"glob": "^8.0.3",
|
|
56
|
+
"http-server": "^14.1.1",
|
|
57
|
+
"nodemon": "^2.0.20",
|
|
58
|
+
"prettier": "^2.7.1",
|
|
59
|
+
"publicodes": "^1.0.0-beta.77",
|
|
60
|
+
"yaml": "^2.2.2"
|
|
61
|
+
},
|
|
62
|
+
"devDependencies": {
|
|
63
|
+
"@incubateur-ademe/nosgestesclimat-scripts": "^0.2.2",
|
|
64
|
+
"@incubateur-ademe/publicodes-commun": "^0.1.2",
|
|
65
|
+
"@incubateur-ademe/publicodes-tools": "^0.4.2",
|
|
66
|
+
"@types/glob": "^8.1.0",
|
|
67
|
+
"cli-progress": "^3.11.2",
|
|
68
|
+
"deepl-node": "^1.7.0",
|
|
69
|
+
"dotenv": "^16.0.3",
|
|
70
|
+
"git-diff": "^2.0.6",
|
|
71
|
+
"isomorphic-fetch": "^3.0.0",
|
|
72
|
+
"piscina": "^3.2.0",
|
|
73
|
+
"prompt-sync": "^4.2.0",
|
|
74
|
+
"ramda": "^0.28.0",
|
|
75
|
+
"yargs": "^17.6.0"
|
|
76
|
+
},
|
|
77
|
+
"engines": {
|
|
78
|
+
"node": ">=18"
|
|
79
|
+
},
|
|
80
|
+
"publishConfig": {
|
|
81
|
+
"access": "public"
|
|
82
|
+
}
|
|
83
|
+
}
|