forked from tonaljs/tonal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
63 lines (63 loc) · 2.31 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
{
"name": "tonal-core",
"description": "All the core tonal packages",
"version": "1.0.0",
"private": true,
"main": "dist/tonal.min.js",
"scripts": {
"init": "lerna clean && lerna bootstrap && npm run build",
"format":
"prettier --write \"packages/**/{index.js,*.json}\" && prettier --write \"extensions/**/{index.js,*.json}\"",
"prebuild":
"lerna bootstrap && lerna exec -- mkdir -p build/ && mkdir -p packages/dictionary/build/data && cp packages/dictionary/data/* packages/dictionary/build/data/",
"build":
"npm run build-es6 && npm run build-es5 && npm run dist && npm run docs",
"build-es5":
"lerna exec -- rollup -c ../../config/rollup.config.es5.js -- index.js",
"build-es6": "lerna exec -- buble --no modules index.js -o build/es6.js",
"dist":
"rollup -c ./config/rollup.config.dist.js && cp dist/tonal.min.js packages/tonal/build/transpiled.js",
"prepublish":
"npm run test && npm run build && npm run dist && npm run docs && cp README.md ./packages/tonal/",
"pretest": "npm run format",
"test": "jest --coverage",
"jsdoc": "jsdoc -c jsdoc3.json",
"docs": "lerna run docs",
"api":
"rm docs/API.md && cat packages/note/README.md packages/interval/README.md packages/distance/README.md packages/scale/README.md packages/chord/README.md packages/pcset/README.md packages/key/README.md > docs/API.md"
},
"homepage": "https://github.com/danigb/tonal#readme",
"repository": "https://github.com/danigb/tonal",
"bugs": {
"url": "https://github.com/danigb/tonal/issues"
},
"author": "danigb@gmail.com",
"license": "MIT",
"devDependencies": {
"babel-preset-es2015": "^6.24.1",
"buble": "^0.18.0",
"docdash": "^0.4.0",
"jest": "^22.0.4",
"jsdoc": "^3.5.5",
"jsdoc-to-markdown": "^3.0.3",
"lerna": "^2.5.1",
"postman-jsdoc-theme": "^0.0.3",
"prettier": "^1.9.2",
"rollup": "^0.53.3",
"rollup-plugin-buble": "^0.18.0",
"rollup-plugin-commonjs": "^8.2.6",
"rollup-plugin-filesize": "^1.5.0",
"rollup-plugin-json": "^2.1.1",
"rollup-plugin-node-resolve": "^3.0.0",
"rollup-plugin-uglify-es": "^0.0.1"
},
"dependencies": {
"global": "^4.3.2"
},
"babel": {
"presets": ["es2015"]
},
"jest": {
"transformIgnorePatterns": ["<rootDir>/node_modules/(?!tonal)"]
}
}