-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
36 lines (36 loc) · 1.36 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
{
"name": "microtonal-utils",
"version": "1.0.0",
"description": "a library for calculating with microtonal intervals and notes",
"main": "lib/index.js",
"scripts": {
"nearley": "npx nearleyc lib/parser/grammar.ne -o lib/parser/grammar.js",
"repl": "npx node -i -e \"$(< ./repl.js)\"",
"test": "npx mocha --timeout 5000 --require mocha-suppress-logs test/*.test.js",
"test:parser": "npx mocha --timeout 5000 --require mocha-suppress-logs test/parser/*.test.js",
"test:all": "npm run test && npm run test:parser",
"build": "mkdir -p dist && npx browserify lib/index.js -s microtonal_utils --debug | npx exorcist dist/microtonal-utils.js.map > dist/microtonal-utils.js",
"build:min": "mkdir -p dist && npx browserify lib/index.js -s microtonal_utils | npx uglifyjs > dist/microtonal-utils.min.js",
"build:all": "npm run build && npm run build:min"
},
"keywords": [],
"author": "Matthew Yacavone",
"license": "ISC",
"dependencies": {
"big-integer": "^1.6.48",
"fraction.js": "^4.0.13",
"mathutils": "0.0.1",
"nearley": "^2.20.1",
"number-to-words": "^1.2.4",
"primes-and-factors": "^1.3.3"
},
"devDependencies": {
"browserify": "^17.0.0",
"exorcist": "^2.0.0",
"jsverify": "^0.8.4",
"lodash": "^4.17.21",
"mocha": "^8.3.2",
"mocha-suppress-logs": "^0.3.1",
"uglify-js": "^3.13.5"
}
}