forked from ClickerMonkey/dayspan
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
121 lines (121 loc) · 3.66 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
{
"name": "dayspan",
"version": "0.12.4",
"description": "A date & schedule library to use for advanced calendars in TypeScript and JS",
"main": "umd/dayspan.js",
"mainName": "ds",
"module": "lib/index.js",
"es2015": "lib-esm/index.js",
"typings": "typings/index.d.ts",
"repository": {
"type": "git",
"url": "https://www.github.com/ClickerMonkey/dayspan"
},
"authors": [
"Philip Diffenderfer <[email protected]>"
],
"license": "MIT",
"engines": {
"node": ">=6.9"
},
"scripts": {
"cleanup": "shx rm -rf umd lib lib-esm lib-fesm typings coverage ../dayspan-pages/docs",
"prebuild": "npm run cleanup && npm run verify",
"build": "tsc && tsc -p tsconfig.esm.json && webpack && webpack --env.prod",
"build:fesm:min": "uglifyjs lib-fesm/index.js --compress --mangle --source-map --output lib-fesm/index.min.js",
"docs": "typedoc -p . --readme README.md --theme minimal --mode file --target 'es5' --excludeNotExported --excludePrivate --ignoreCompilerErrors --exclude \"**/src/**/__tests__/*.*\" --out ../dayspan-pages/docs src/ && cp -R examples ../dayspan-pages/ && cp -R umd ../dayspan-pages/ && cp -R node_modules/moment/min ../dayspan-pages/node_modules/moment/",
"test": "jest",
"test:watch": "npm test -- --watch",
"test:coverage": "npm test -- --coverage",
"test:only-changed": "npm test -- --bail --onlyChanged",
"verify": "npm test",
"cz": "git-cz",
"release:npm": "npm publish",
"release:preflight": "irish-pub",
"release:preflight:package": "npm pack",
"size": "shx echo \"Gzipped Size:\" && cross-var strip-json-comments --no-whitespace $npm_package_main | gzip-size"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
},
"validate-commit-msg": {
"types": "conventional-commit-types",
"maxSubjectLength": 120
}
},
"lint-staged": {
"src/**/*.{ts,tsx}": [
"npm run prettier:ts -- --write",
"ts:lint:fix",
"git add"
]
},
"jest": {
"roots": [
"<rootDir>/src"
],
"transform": {
"^.+\\.tsx?$": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"mapCoverage": true,
"coveragePathIgnorePatterns": [
"<rootDir>/node_modules/",
"<rootDir>/lib/",
"<rootDir>/lib-esm/",
"<rootDir>/umd/",
"<rootDir>/src/.*(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$"
],
"globals": {
"ts-jest": {
"skipBabel": true
}
},
"coverageThreshold": {
"global": {
"branches": 80,
"functions": 80,
"lines": 80,
"statements": 85
}
}
},
"dependencies": {
"jest-cli": "22.4.3",
"moment": "2.22.1"
},
"devDependencies": {
"@types/jest": "20.0.2",
"@types/node": "7.0.31",
"awesome-typescript-loader": "3.2.1",
"commitizen": "2.9.6",
"cross-var": "1.0.3",
"cz-conventional-changelog": "2.0.0",
"gzip-size-cli": "2.0.0",
"irish-pub": "0.2.0",
"jest": "20.0.4",
"lint-staged": "4.0.0",
"prettier": "1.5.2",
"shx": "0.2.2",
"standard-version": "4.2.0",
"strip-json-comments-cli": "1.0.1",
"ts-jest": "20.0.6",
"tslint": "5.4.3",
"tslint-config-prettier": "1.1.0",
"tslint-config-standard": "6.0.1",
"tslint-react": "3.0.0",
"typedoc": "0.7.1",
"typescript": "2.4.1",
"uglify-js": "git://github.com/mishoo/UglifyJS2.git#harmony-v2.8.22",
"uglifyjs-webpack-plugin": "0.4.5",
"validate-commit-msg": "2.12.2",
"webpack": "3.0.0",
"webpack-config-utils": "2.3.0"
}
}