-
Notifications
You must be signed in to change notification settings - Fork 104
/
package.json
91 lines (91 loc) · 2.64 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
"name": "inkjs",
"version": "2.3.1",
"description": "A javascript port of inkle's ink scripting language (http://www.inklestudios.com/ink/)",
"type": "commonjs",
"main": "dist/ink-full.js",
"types": "ink.d.ts",
"files": [
"engine",
"compiler",
"ink.js",
"ink.js.map",
"ink.d.ts",
"ink.d.mts",
"script/inkjs-compiler.ts",
"dist",
"bin"
],
"exports": {
".": {
"types": "./ink.d.mts",
"import": "./dist/ink.mjs",
"default": "./dist/ink.js"
},
"./full": {
"types": "./ink.d.mts",
"import": "./dist/ink-full.mjs",
"default": "./dist/ink-full.js"
},
"./types": {
"types": "./ink.d.ts",
"default": "./ink.js"
},
"./engine/*": {
"types": "./engine/*.d.ts",
"default": "./engine/*.js"
},
"./compiler/*": {
"types": "./compiler/*.d.ts",
"default": "./compiler/*.js"
}
},
"scripts": {
"test": "npm run build && npm run test:typescript && npm run test:javascript",
"test:typescript": "jest",
"test:javascript": "npm run build && npm run test:javascript:dist && npm run test:javascript:legacy",
"test:javascript:dist": "INK_TEST=dist jest --config='jest.config.javascript.js'",
"test:javascript:legacy": "INK_TEST=legacy jest --config='jest.config.javascript.js'",
"test:compileFiles": "node src/tests/compile.js",
"build": "tsc -p ./ && rollup -c --bundleConfigAsCjs",
"lint": "eslint 'src/**/*.ts'",
"lint:fix": "npm run lint -- --fix",
"watch": "tsc -p ./ && rollup -c -w --bundleConfigAsCjs"
},
"author": "Yannick Lohse",
"license": "MIT",
"bin": {
"inkjs-compiler": "./bin/inkjs-compiler.js"
},
"browserslist": "> 0.25%, not dead",
"devDependencies": {
"@babel/core": "7.25.2",
"@babel/preset-env": "7.25.4",
"@rollup/plugin-babel": "6.0.4",
"@rollup/plugin-node-resolve": "15.2.3",
"@rollup/plugin-terser": "0.4.4",
"@types/jest": "29.5.14",
"@types/node": "^20.12.5",
"@typescript-eslint/eslint-plugin": "7.5.0",
"@typescript-eslint/parser": "7.5.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-jsdoc": "48.2.3",
"eslint-plugin-prefer-arrow": "1.2.3",
"eslint-plugin-prettier": "5.1.3",
"fs-extra": "11.2.0",
"glob": "10.3.12",
"jest": "29.7.0",
"jest-diff": "29.7.0",
"prettier": "3.2.5",
"remap-istanbul": "0.13.0",
"rollup": "4.14.0",
"rollup-plugin-sourcemaps": "0.6.3",
"rollup-plugin-typescript2": "0.36.0",
"ts-jest": "29.1.2",
"ts-node": "^10.9.2",
"tslib": "^2.6.3",
"typescript": "5.4.4"
}
}