forked from dice-roller/rpg-dice-roller
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
64 lines (64 loc) · 2.13 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
{
"name": "rpg-dice-roller",
"description": "A dice roller that accepts standard dice notation",
"author": "GreenImp <info@greenimp.co.uk> (http://greenimp.co.uk)",
"version": "4.0.2",
"license": "MIT",
"main": "lib/esm/bundle.js",
"module": "lib/esm/bundle.js",
"browser": "lib/umd/bundle.js",
"repository": {
"type": "git",
"url": "https://github.com/GreenImp/rpg-dice-roller.git"
},
"bugs": {
"url": "https://github.com/GreenImp/rpg-dice-roller/issues"
},
"homepage": "https://github.com/GreenImp/rpg-dice-roller",
"keywords": [
"dice",
"roller",
"rpg",
"roll",
"pathfinder",
"d&d",
"notation"
],
"devDependencies": {
"@babel/core": "^7.6.4",
"@babel/preset-env": "^7.6.3",
"abab": "^2.0.2",
"eslint": "^6.6.0",
"jest": "^24.9.0",
"pegjs": "^0.10.0",
"rollup": "^1.26.3",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-banner": "^0.2.1",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-eslint": "^7.0.0",
"rollup-plugin-node-resolve": "^4.2.4",
"rollup-plugin-terser": "^5.1.3"
},
"dependencies": {
"mathjs-expression-parser": "^1.0.2"
},
"engines": {
"node": ">=11.0"
},
"scripts": {
"build": "npm run build:prod",
"build:prod": "npm run prebuild && npm run build:umd -- --environment BUILD:prod && npm run build:esm -- --environment BUILD:prod",
"build:dev": "npm run prebuild && npm run build:esm -- --environment BUILD:dev && npm run build:umd -- --environment BUILD:dev",
"build:umd": "rollup --c --environment FORMAT:umd",
"build:esm": "rollup --c --environment FORMAT:esm",
"build:grammars": "pegjs src/parser/grammars/grammar.pegjs",
"prebuild": "npm run build:grammars",
"watch": "npm run prebuild && npm run build:esm -- --environment BUILD:dev -w",
"lint": "eslint src/**",
"pretest": "npm run prebuild && npm run build:umd -- --environment BUILD:dev",
"test": "npm run lint && jest /tests/",
"test:watch": "npm run lint && jest /tests/ --watchAll --coverage",
"prepublishOnly": "npm run build:prod && npm run build:dev && npm run test"
},
"type": "module"
}