-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
125 lines (125 loc) · 3.61 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
122
123
124
125
{
"name": "flexible-3d-carousel",
"version": "0.0.0-development",
"description": "flexible-3d-carousel React component",
"main": "lib/index.js",
"module": "es/index.js",
"files": [
"es",
"lib",
"umd"
],
"scripts": {
"lint:stylelint": "stylelint -s scss \"src/**/*.scss\"",
"lint": "tslint \"{src,test,demo}/**/*.{ts,tsx}\" -t codeFrame",
"build": "nwb clean-module && tsc -p ./src/tsconfig.lib.json && tsc -p ./src/tsconfig.es.json && tsc -p ./src/tsconfig.umd.json",
"build:demo": "nwb build-web-app demo/src/index.tsx",
"clean": "nwb clean-module && nwb clean-demo",
"start": "nwb serve-web-app demo/src/index.tsx",
"demo": "npm run build:demo && http-server dist/ -p 3000",
"test": "jest",
"test:watch": "jest --watch",
"test:prod": "npm run lint && npm run test -- --coverage --no-cache",
"deploy-docs": "ts-node tools/gh-pages-publish",
"report-coverage": "cat ./coverage/lcov.info | coveralls",
"commit": "git-cz",
"semantic-release": "semantic-release",
"semantic-release-prepare": "ts-node tools/semantic-release-prepare",
"precommit": "lint-staged",
"prepush": "npm run test:prod && npm run build",
"commitmsg": "validate-commit-msg",
"travis-deploy-once": "travis-deploy-once"
},
"lint-staged": {
"{src,test}/**/*.ts": [
"prettier",
"git add"
]
},
"config": {
"commitizen": {
"path": "node_modules/cz-conventional-changelog"
},
"validate-commit-msg": {
"types": "conventional-commit-types",
"helpMessage": "Use \"npm run commit\" instead, we use conventional-changelog format :) (https://github.com/commitizen/cz-cli)"
}
},
"jest": {
"transform": {
".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"/test/"
],
"coverageThreshold": {
"global": {
"branches": 90,
"functions": 95,
"lines": 95,
"statements": 95
}
},
"collectCoverage": false
},
"dependencies": {
"classnames": "^2.2.5",
"normalize.css": "^8.0.0",
"qreact": "^1.1.8",
"raf": "^3.4.0",
"react": "^16.2.0",
"react-dom": "^16.2.0"
},
"devDependencies": {
"@blueprintjs/tslint-config": "^1.1.0",
"@types/classnames": "^2.2.3",
"@types/jest": "^22.2.0",
"@types/node": "^9.4.7",
"@types/react": "^16.0.40",
"@types/react-dom": "^16.0.4",
"colors": "^1.2.1",
"commitizen": "^2.9.6",
"coveralls": "^3.0.0",
"cz-conventional-changelog": "^2.1.0",
"es3ify-webpack-plugin": "0.0.1",
"fork-ts-checker-webpack-plugin": "^0.4.1",
"http-server": "^0.11.1",
"husky": "^0.14.3",
"jest": "^22.4.2",
"lint-staged": "^7.0.0",
"nwb": "^0.21.5",
"nwb-sass": "^0.8.3",
"react-hot-loader": "^4.0.0",
"semantic-release": "^15.1.2",
"stylelint": "^9.1.3",
"stylelint-config-palantir": "^3.0.2",
"stylelint-scss": "^2.5.0",
"travis-deploy-once": "^4.4.1",
"ts-jest": "^22.4.1",
"ts-loader": "^4.1.0",
"ts-node": "^5.0.1",
"tslint": "^5.9.1",
"typedoc": "^0.11.1",
"typescript": "^2.7.2",
"validate-commit-msg": "^2.14.0"
},
"author": "Kirk.Wang <[email protected]>",
"repository": {
"type": "git",
"url": "https://github.com/lotteryjs/flexible-3d-carousel"
},
"homepage": "https://www.lotteryjs.com",
"license": "MIT",
"keywords": [
"carousel",
"3d-carousel",
"flexible-3d-carousel"
]
}