rita 2.4.303 → 2.8.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/README.md +11 -0
- package/dist/rita-micro.js +3 -3
- package/dist/rita.js +3 -3
- package/package.json +26 -20
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rita",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.8.0",
|
|
4
4
|
"author": "Daniel C. Howe",
|
|
5
5
|
"license": "GPL-3.0",
|
|
6
6
|
"description": "tools for generative natural language",
|
|
@@ -34,13 +34,15 @@
|
|
|
34
34
|
],
|
|
35
35
|
"scripts": {
|
|
36
36
|
"clean": "rm -f dist/*.*",
|
|
37
|
-
"build": "npm run clean && webpack",
|
|
38
|
-
"
|
|
37
|
+
"build": "npm run clean && webpack --mode=production",
|
|
38
|
+
"build.dev": "npm run clean && webpack --mode=development --devtool=eval-source-map",
|
|
39
|
+
"test": "npx mocha -r esm",
|
|
39
40
|
"prepare": "npm run compile",
|
|
40
41
|
"watch.src": "npm-watch test.src",
|
|
41
|
-
"
|
|
42
|
+
"watch.dist": "npm-watch build.dev",
|
|
43
|
+
"test.src": "NODE_ENV=dev npx mocha -r esm",
|
|
44
|
+
"test.g": "NODE_ENV=dev npx mocha -r esm ./test/*.js -g ",
|
|
42
45
|
"watch.grammar": "npm-watch antlr4.js",
|
|
43
|
-
"test.g": "mocha -r esm ./test/*.js -g ",
|
|
44
46
|
"compile": "npm run fix.antlr && npm run antlr4.js",
|
|
45
47
|
"precoverage": "rm -rf ./coverage",
|
|
46
48
|
"coverage": "c8 --reporter=html --exclude='src/visitor.js' npm run test.src",
|
|
@@ -60,27 +62,31 @@
|
|
|
60
62
|
],
|
|
61
63
|
"ignore": "before.js",
|
|
62
64
|
"extensions": "js"
|
|
65
|
+
},
|
|
66
|
+
"build.dev": {
|
|
67
|
+
"patterns": [
|
|
68
|
+
"src"
|
|
69
|
+
],
|
|
70
|
+
"extensions": "js"
|
|
63
71
|
}
|
|
64
72
|
},
|
|
65
73
|
"devDependencies": {
|
|
66
|
-
"@babel/
|
|
67
|
-
"@babel/
|
|
68
|
-
"@babel/
|
|
74
|
+
"@babel/cli": "^7.16.7",
|
|
75
|
+
"@babel/core": "^7.16.7",
|
|
76
|
+
"@babel/plugin-proposal-class-properties": "^7.16.7",
|
|
77
|
+
"@babel/preset-env": "^7.16.7",
|
|
69
78
|
"antlr4": "^4.9.1",
|
|
70
|
-
"babel-loader": "^8.2.
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"codecov": "^3.8.1",
|
|
79
|
+
"babel-loader": "^8.2.3",
|
|
80
|
+
"chai": "^4.3.4",
|
|
81
|
+
"codecov": "^3.8.3",
|
|
74
82
|
"deepmerge": "^4.2.2",
|
|
75
83
|
"esm": "^3.2.25",
|
|
76
|
-
"flatted": "^2.
|
|
84
|
+
"flatted": "^3.2.4",
|
|
77
85
|
"he": "^1.2.0",
|
|
78
|
-
"mocha": "^8.
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
"webpack": "^4.
|
|
83
|
-
"webpack-bundle-analyzer": "^4.1.0",
|
|
84
|
-
"webpack-cli": "^3.3.10"
|
|
86
|
+
"mocha": "^8.4.0",
|
|
87
|
+
"npm-watch": "^0.11.0",
|
|
88
|
+
"terser-webpack-plugin": "^5.3.0",
|
|
89
|
+
"webpack": "^5.65.0",
|
|
90
|
+
"webpack-cli": "^4.9.1"
|
|
85
91
|
}
|
|
86
92
|
}
|