@exercism/codemirror-lang-rescript 0.0.0-stage → 1.0.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/package.json CHANGED
@@ -1,6 +1,60 @@
1
1
  {
2
2
  "name": "@exercism/codemirror-lang-rescript",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "1.0.0",
4
+ "description": "ReScript language support for CodeMirror, with a Lezer grammar and autocompletion",
5
+ "main": "dist/index.cjs",
6
+ "type": "module",
7
+ "exports": {
8
+ "import": "./dist/index.js",
9
+ "require": "./dist/index.cjs"
10
+ },
11
+ "module": "dist/index.js",
12
+ "types": "dist/index.d.ts",
13
+ "files": [
14
+ "dist",
15
+ "LICENSE",
16
+ "README.md",
17
+ "CHANGELOG.md"
18
+ ],
19
+ "author": "tsnobip",
20
+ "license": "MIT",
21
+ "devDependencies": {
22
+ "@lezer/generator": "^1.8.1",
23
+ "@rollup/plugin-node-resolve": "^16.0.3",
24
+ "codemirror": "^6.0.1",
25
+ "mocha": "^12.0.3",
26
+ "rollup": "^4.64.0"
27
+ },
28
+ "dependencies": {
29
+ "@codemirror/autocomplete": "^6.16.0",
30
+ "@codemirror/language": "^6.10.1",
31
+ "@codemirror/state": "^6.4.1",
32
+ "@lezer/common": "^1.5.3",
33
+ "@lezer/highlight": "^1.2.5",
34
+ "@lezer/lr": "^1.4.10"
35
+ },
36
+ "repository": {
37
+ "type": "git",
38
+ "url": "git+https://github.com/exercism/rescript-lezer.git"
39
+ },
40
+ "homepage": "https://github.com/exercism/rescript-lezer#readme",
41
+ "bugs": {
42
+ "url": "https://github.com/exercism/rescript-lezer/issues"
43
+ },
44
+ "scripts": {
45
+ "build": "lezer-generator src/rescript.grammar -o src/parser && rollup -c",
46
+ "build-debug": "lezer-generator src/rescript.grammar --names -o src/parser && rollup -c",
47
+ "prepare": "npm run build",
48
+ "test": "mocha test/test-*.js",
49
+ "test:corpus": "npm run build && node scripts/audit-grammar.mjs --mode all --fail-on-regression --fail-on-crash",
50
+ "audit:grammar": "npm run build && node scripts/audit-grammar.mjs --mode all",
51
+ "audit:grammar:strict": "npm run build && node scripts/audit-grammar.mjs --mode all --fail-on-mismatch --fail-on-crash",
52
+ "builtins": "node scripts/generate-builtins.mjs"
53
+ },
54
+ "keywords": [
55
+ "lezer",
56
+ "codemirror",
57
+ "rescript",
58
+ "exercism"
59
+ ]
60
+ }