-
Notifications
You must be signed in to change notification settings - Fork 65
/
package.json
135 lines (135 loc) 路 3.95 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
{
"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",
"/icons",
"/src",
"/scss"
],
"sideEffects": false,
"scripts": {
"build": "make build",
"build-docs": "cd ./www && \"$npm_execpath\" install && \"$npm_execpath\" run build",
"build-docs:with-theme": "cd ./www && \"$npm_execpath\" install && \"$npm_execpath\" run build:with-theme",
"commit": "commit",
"coveralls": "cat ./coverage/lcov.info | coveralls",
"debug-test": "node --inspect-brk node_modules/.bin/jest --runInBand --coverage",
"lint": "eslint --ext .js --ext .jsx .",
"prepublishOnly": "npm run build",
"semantic-release": "semantic-release",
"snapshot": "jest --updateSnapshot",
"start": "echo 'To start the Paragon documentation site: cd www/ && npm i && npm start'",
"test": "jest --coverage"
},
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^1.2.30",
"@fortawesome/free-solid-svg-icons": "^5.14.0",
"@fortawesome/react-fontawesome": "^0.1.11",
"airbnb-prop-types": "^2.12.0",
"bootstrap": "^4.4.1",
"classnames": "^2.2.6",
"email-prop-type": "^3.0.0",
"font-awesome": "^4.7.0",
"mailto-link": "^1.0.0",
"prop-types": "^15.7.2",
"react-bootstrap": "^1.2.2",
"react-focus-on": "^3.5.0",
"react-proptype-conditional-require": "^1.0.4",
"react-responsive": "^6.1.1",
"react-table": "^7.6.1",
"react-transition-group": "^4.0.0",
"sanitize-html": "^1.20.0",
"tabbable": "^4.0.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.11.0",
"@babel/preset-react": "^7.0.0",
"@commitlint/cli": "^7.5.2",
"@commitlint/config-angular": "^7.5.0",
"@commitlint/prompt-cli": "^7.5.0",
"@edx/eslint-config": "^1.1.6",
"babel-eslint": "^10.1.0",
"babel-jest": "^24.5.0",
"babel-loader": "^8.0.6",
"coveralls": "^3.0.3",
"enzyme": "^3.9.0",
"enzyme-adapter-react-16": "^1.11.2",
"eslint": "^6.8.0",
"eslint-config-airbnb": "^18.2.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-react": "^7.20.6",
"eslint-plugin-react-hooks": "^1.7.0",
"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": "^16.8.6",
"react-dom": "^16.8.6",
"react-test-renderer": "^16.8.6",
"sass-loader": "^7.1.0",
"semantic-release": "^17.0.0"
},
"jest": {
"transform": {
"^.+\\.md?$": "markdown-loader-jest",
"^.+\\.jsx?$": "babel-jest",
"^icons/index.js$": "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"
}
}
}