@akimeo/modele-social 10.0.1
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/README.md +31 -0
- package/dist/index.js +2 -0
- package/dist/names.ts +1335 -0
- package/index.d.ts +11 -0
- package/package.json +36 -0
package/index.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// Currenty we systematically bundle all the rules even if we only need a
|
|
2
|
+
// sub-section of them. We might support "code-splitting" the rules in the
|
|
3
|
+
// future.
|
|
4
|
+
import { Rule } from 'publicodes'
|
|
5
|
+
|
|
6
|
+
import { Names } from './dist/names.js'
|
|
7
|
+
|
|
8
|
+
export type DottedName = Names
|
|
9
|
+
declare let rules: Record<Names, Rule>
|
|
10
|
+
|
|
11
|
+
export default rules
|
package/package.json
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@akimeo/modele-social",
|
|
3
|
+
"version": "10.0.1",
|
|
4
|
+
"description": "Les règles publicodes du système social français",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
|
+
"module": "dist/index.js",
|
|
8
|
+
"types": "./index.d.ts",
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "https://github.com/betagouv/mon-entreprise.git",
|
|
12
|
+
"directory": "modele-social"
|
|
13
|
+
},
|
|
14
|
+
"bugs": "https://github.com/betagouv/mon-entreprise/issues?q=is%3Aopen+is%3Aissue+label%3A%22%F0%9F%93%95+l%C3%A9gislation%22",
|
|
15
|
+
"homepage": "https://mon-entreprise.urssaf.fr/int%C3%A9gration/biblioth%C3%A8que-de-calcul",
|
|
16
|
+
"license": "MIT",
|
|
17
|
+
"files": [
|
|
18
|
+
"dist",
|
|
19
|
+
"index.d.ts"
|
|
20
|
+
],
|
|
21
|
+
"devDependencies": {
|
|
22
|
+
"js-yaml": "^4.1.0",
|
|
23
|
+
"onchange": "^7.1.0"
|
|
24
|
+
},
|
|
25
|
+
"peerDependencies": {
|
|
26
|
+
"publicodes": "^1.0.4"
|
|
27
|
+
},
|
|
28
|
+
"scripts": {
|
|
29
|
+
"build": "node ../scripts/build-rules.js && echo 'ℹ️ Compilation effectuée'",
|
|
30
|
+
"start": "yarn run build && onchange 'règles/**/*.publicodes' -- yarn run build && echo 'ℹ️ Compilation effectuée'",
|
|
31
|
+
"clean": "rimraf dist node_modules",
|
|
32
|
+
"prepack": "yarn run build",
|
|
33
|
+
"up": "yarn version --minor && echo \"ℹ N'oubliez pas de poussez le tag git\"",
|
|
34
|
+
"test": "node ../scripts/check-changelog.js"
|
|
35
|
+
}
|
|
36
|
+
}
|