-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
92 lines (92 loc) · 2.73 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
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": "tonal-core",
"description": "All the core tonal packages",
"version": "1.0.1",
"private": true,
"main": "dist/tonal.min.js",
"types": "packages/tonal/index.d.ts",
"scripts": {
"init": "lerna clean && lerna bootstrap && npm run build",
"prebuild": "lerna bootstrap && lerna exec -- mkdir -p build/ && mkdir -p packages/dictionary/build/data && cp packages/dictionary/data/* packages/dictionary/build/data/",
"build": "lerna exec -- npm run build && npm run dist && npm run build:readme",
"build:readme": "lerna run docs",
"dist": "rollup -c ./config/rollup.config.dist.js && cp dist/tonal.min.js packages/tonal/build/transpiled.js",
"prepublish": " npm run build && npm run test && npm run dist && npm run docs && cp README.md ./packages/tonal/",
"test": "lerna exec -- npm run test",
"docs": "npm run build:readme && npm run docs:jsdoc",
"docs:jsdoc": "jsdoc -c config/jsdoc3.json",
"docs:publish": "npm run docs && gh-pages -d build/docs",
"tsc": "tsc"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"linters": {
"*.js": "eslint",
"*.{js,json,md}": [
"prettier --write",
"git add"
]
},
"ignore": [
"**/dist/**",
"**/build/**",
"docs/api/**"
]
},
"homepage": "https://github.com/danigb/tonal#readme",
"repository": "https://github.com/danigb/tonal",
"bugs": {
"url": "https://github.com/danigb/tonal/issues"
},
"author": "[email protected]",
"license": "MIT",
"devDependencies": {
"@babel/cli": "^7.1.2",
"@babel/core": "^7.1.2",
"@babel/plugin-proposal-class-properties": "^7.1.0",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
"@babel/preset-env": "^7.1.0",
"@babel/preset-typescript": "^7.1.0",
"@types/jest": "^23.3.5",
"babel-preset-es2015": "^6.24.1",
"buble": "^0.19.5",
"docdash": "^1.0.0",
"gh-pages": "^2.0.1",
"husky": "^1.1.2",
"jest": "^23.6.0",
"jsdoc": "^3.5.5",
"jsdoc-babel": "^0.5.0",
"jsdoc-to-markdown": "^4.0.1",
"lerna": "^3.4.3",
"lint-staged": "^7.3.0",
"postman-jsdoc-theme": "^0.0.3",
"prettier": "^1.14.3",
"rollup": "^0.66.6",
"rollup-plugin-buble": "^0.19.4",
"rollup-plugin-commonjs": "^9.2.0",
"rollup-plugin-filesize": "^5.0.1",
"rollup-plugin-json": "^3.1.0",
"rollup-plugin-node-resolve": "^3.4.0",
"rollup-plugin-typescript2": "^0.17.2",
"rollup-plugin-uglify-es": "^0.0.1",
"ts-jest": "^23.10.4",
"typescript": "^3.1.3"
},
"dependencies": {
"global": "^4.3.2"
},
"babel": {
"presets": [
"es2015"
]
},
"jest": {
"transformIgnorePatterns": [
"<rootDir>/node_modules/(?!tonal)"
]
}
}