-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
39 lines (39 loc) · 1.19 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
{
"name": "sprunge",
"version": "0.5.2",
"description": "a parser combinator library",
"main": "./lib/sprunge.umd.js",
"types": "./lib/index.d.ts",
"module": "./lib/index.js",
"license": "MIT",
"keywords": [
"parser"
],
"repository": {
"type": "git",
"url": "https://github.com/evs-chris/sprunge.git"
},
"devDependencies": {
"@types/qunit": "^2.9",
"eslint": "^6",
"qunit": "^2.9",
"rollup": "^1.32.0",
"rollup-plugin-sourcemaps": "^0.5",
"source-map-support": "^0.5",
"typescript": "^3.7"
},
"scripts": {
"build:code": "tsc -p config/lib.tsconfig.json",
"bundle:code": "rollup lib/umd.js --file lib/sprunge.umd.js --format umd --name sprunge --sourcemap",
"build": "npm run build:code; npm run bundle:code",
"clean": "rm -r lib build",
"build:test": "tsc -p config/test.tsconfig.json",
"bundle:test": "rollup build/test/test/index.js --file build/test.js --format iife --name sprunge_test --sourcemap --plugin rollup-plugin-sourcemaps",
"test": "npm run build:test; npm run bundle:test; qunit --require 'source-map-support/register' build/test.js"
},
"files": [
"lib",
"README.md",
"CHANGELOG.md"
]
}