forked from openedx/paragon
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
139 lines (139 loc) Β· 4.21 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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
{
"name": "@edx/paragon",
"version": "0.0.0-development",
"description": "Accessible, responsive UI component library based on Bootstrap.",
"main": "dist/index.js",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/edx/paragon.git"
},
"files": [
"/dist",
"/src",
"/scss"
],
"sideEffects": false,
"scripts": {
"build": "make build",
"build-docs": "build-storybook && npm run build-gatsby && npm run move-gatsby",
"build-storybook": "build-storybook",
"build-gatsby": "cd ./www && \"$npm_execpath\" install && \"$npm_execpath\" run build",
"commit": "commit",
"coveralls": "cat ./coverage/lcov.info | coveralls",
"debug-test": "node --inspect-brk node_modules/.bin/jest --runInBand --coverage",
"deploy-storybook": "storybook-to-ghpages",
"deploy-storybook-ci": "storybook-to-ghpages --ci",
"is-es5": "es-check es5 ./dist/*.js",
"lint": "eslint --ext .js --ext .jsx .",
"move-gatsby": "mv ./www/public ./storybook-static/v2",
"prepublishOnly": "npm run build",
"semantic-release": "semantic-release",
"snapshot": "jest --updateSnapshot",
"start": "start-storybook -p 6006",
"test": "jest --coverage",
"travis-deploy-once": "travis-deploy-once"
},
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^1.2.18",
"@fortawesome/free-solid-svg-icons": "^5.8.2",
"@fortawesome/react-fontawesome": "^0.1.4",
"airbnb-prop-types": "^2.12.0",
"bootstrap": "^4.3.1",
"classnames": "^2.2.6",
"email-prop-type": "^3.0.0",
"font-awesome": "^4.7.0",
"mailto-link": "^1.0.0",
"react-proptype-conditional-require": "^1.0.4",
"react-responsive": "^6.1.1",
"react-transition-group": "^4.0.0",
"sanitize-html": "^1.20.0"
},
"peerDependencies": {
"prop-types": "^15.7.2",
"react": "^16.8.6",
"react-dom": "^16.8.6"
},
"devDependencies": {
"@babel/cli": "^7.4.4",
"@babel/core": "^7.3.4",
"@babel/plugin-proposal-class-properties": "^7.4.4",
"@babel/plugin-proposal-object-rest-spread": "^7.3.4",
"@babel/preset-env": "^7.3.4",
"@babel/preset-react": "^7.0.0",
"@commitlint/cli": "^7.5.2",
"@commitlint/config-angular": "^7.5.0",
"@commitlint/prompt-cli": "^7.5.0",
"@edx/edx-bootstrap": "^2.0.0",
"@storybook/addon-a11y": "^5.0.11",
"@storybook/addon-actions": "^5.0.11",
"@storybook/addon-centered": "^5.0.3",
"@storybook/addon-console": "^1.1.0",
"@storybook/addon-info": "^5.0.11",
"@storybook/addon-storyshots": "^5.0.11",
"@storybook/react": "^5.0.11",
"@storybook/storybook-deployer": "^2.8.1",
"babel-eslint": "^10.0.1",
"babel-jest": "^24.5.0",
"babel-loader": "^8.0.6",
"babel-plugin-require-context-hook": "^1.0.0",
"coveralls": "^3.0.3",
"enzyme": "^3.9.0",
"enzyme-adapter-react-16": "^1.11.2",
"eslint-config-edx": "^4.0.4",
"greenkeeper-lockfile": "^1.15.1",
"husky": "^2.0.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^24.5.0",
"jest-cli": "^24.7.1",
"markdown-loader-jest": "^0.1.1",
"node-sass": "^4.12.0",
"react-test-renderer": "^16.8.6",
"sass-loader": "^7.1.0",
"semantic-release": "^15.13.14",
"storybook-readme": "^5.0.2",
"travis-deploy-once": "^5.0.11"
},
"jest": {
"transform": {
"^.+\\.md?$": "markdown-loader-jest",
"^.+\\.jsx?$": "babel-jest"
},
"setupFiles": [
"./src/setupTest.js"
],
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/fileMock.js",
"\\.(css|scss)$": "identity-obj-proxy"
},
"collectCoverageFrom": [
"src/**/*.{js,jsx}"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"src/setupTest.js",
"src/index.js",
"/tests/",
"/www/",
"/dist/"
],
"testPathIgnorePatterns": [
"/node_modules/",
"/www/",
"/dist/"
],
"transformIgnorePatterns": [
"/node_modules/(?!(@edx/paragon)/).*/"
]
},
"browserslist": [
"last 2 versions",
"not ie < 11"
],
"husky": {
"hooks": {
"commit-msg": "commitlint -e $GIT_PARAMS",
"pre-commit": "npm run lint"
}
}
}