forked from dice-roller/rpg-dice-roller
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
92 lines (92 loc) · 3.17 KB
/
package.json
File metadata and controls
92 lines (92 loc) · 3.17 KB
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
92
{
"name": "@dice-roller/rpg-dice-roller",
"description": "An advanced JS based dice roller that can roll various types of dice and modifiers, along with mathematical equations.",
"author": "GreenImp Media <info@greenimp.co.uk> (http://greenimp.co.uk)",
"version": "5.1.0",
"license": "MIT",
"type": "module",
"main": "./lib/esm/bundle.js",
"module": "./lib/esm/bundle.js",
"browser": "./lib/umd/bundle.js",
"exports": {
".": {
"import": "./lib/esm/bundle.js",
"require": "./lib/umd/bundle.js"
},
"./lib/umd/bundle.js": {
"require": "./lib/umd/bundle.js"
},
"./src/": "./src/",
"./types/": "./types/",
"./package.json": "./package.json"
},
"types": "./types/index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/dice-roller/rpg-dice-roller.git"
},
"bugs": {
"url": "https://github.com/dice-roller/rpg-dice-roller/issues"
},
"homepage": "https://dice-roller.github.io/documentation",
"funding": [
"https://github.com/sponsors/dice-roller",
"https://github.com/sponsors/GreenImp"
],
"keywords": [
"dice",
"roller",
"rpg",
"roll",
"d&d",
"dnd",
"random",
"prng",
"roleplay",
"pathfinder",
"notation"
],
"devDependencies": {
"@babel/core": "^7.17.10",
"@babel/preset-env": "^7.17.10",
"@rollup/plugin-babel": "^5.3.1",
"@rollup/plugin-commonjs": "^22.0.0",
"@rollup/plugin-eslint": "^8.0.2",
"@rollup/plugin-node-resolve": "^13.3.0",
"abab": "^2.0.6",
"coveralls": "^3.1.1",
"eslint": "^8.15.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.26.0",
"jest": "^28.1.0",
"peggy": "^1.2.0",
"rollup": "^2.73.0",
"rollup-plugin-banner": "^0.2.1",
"rollup-plugin-terser": "^7.0.2",
"typescript": "^4.6.4",
"vuepress-jsdoc": "^4.3.0"
},
"dependencies": {
"mathjs": "^10.5.3",
"random-js": "^2.1.0"
},
"engines": {
"node": ">=12.0"
},
"scripts": {
"build": "npm run build:dev && npm run build:prod && npm run build:declaration",
"build:declaration": "rm -rf types/ && tsc -p declaration.tsconfig.json",
"build:dev": "npm run build:grammars && npm run lint && rollup --c --environment BUILD:dev",
"build:docs": "./node_modules/vuepress-jsdoc/bin/vuepress-jsdoc.js --dist ./docs --folder api --exclude=\"./index.js,./parser/grammars\"",
"build:grammars": "./node_modules/peggy/bin/peggy --format es --dependency '{ evaluate }:../../utilities/math.js' --dependency '* as Dice:../../dice/index.js' --dependency '* as Modifiers:../../modifiers/index.js' --dependency 'ComparePoint:../../ComparePoint.js' --dependency 'RollGroup:../../RollGroup.js' ./src/parser/grammars/grammar.pegjs",
"build:prod": "npm run build:grammars && npm run lint && rollup --c --environment BUILD:prod",
"watch": "npm run build:dev -- -w",
"lint": "eslint src/** tests/**",
"lint:fix": "eslint --fix src/** tests/**",
"pretest": "npm run build:grammars && npm run lint",
"test": "jest",
"test:coverage": "npm run pretest && jest --coverage",
"test:watch": "npm run pretest && jest --watchAll",
"prepublishOnly": "npm test && npm run build"
}
}