-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
86 lines (86 loc) · 3.31 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
{
"name": "@materialsproject/dash-mp-components",
"version": "0.4.47",
"description": "Dash components for the Materials Project",
"repository": {
"type": "git",
"url": "git://github.com/materialsproject/dash-mp-components.git"
},
"bugs": {
"url": "https://github.com/materialsproject/dash-mp-components/issues"
},
"homepage": "https://github.com/materialsproject/dash-mp-components",
"main": "build/index.js",
"scripts": {
"start": "webpack-serve --config ./webpack.serve.config.js --open",
"validate-init": "python _validate_init.py",
"prepublishOnly": "npm run validate-init",
"build:js": "webpack --mode production",
"build:py_and_r": "dash-generate-components ./src/lib/components dash_mp_components -p package-info.json --r-prefix ''",
"build:py_and_r-activated": "(. venv/bin/activate || venv\\scripts\\activate && npm run build:py_and_r)",
"build": "npm run build:js && npm run build:py_and_r",
"build:activated": "npm run build:js && npm run build:py_and_r-activated",
"clean:python-package": "rm -rf dash_mp_components.egg-info && rm -rf dist",
"clean:python-component": "cd dash_mp_components ; find . ! -name '__init__.py' -type f -exec rm -f {} + ; cd ..",
"clean:dash": "rm -rf R && rm -rf man && rm -rf inst",
"publish:test": "twine upload --repository-url https://test.pypi.org/legacy/ dist/*",
"publish:prod": "echo NOT READY",
"postversion": "git push && git push --tags",
"test:e2e": "pytest tests",
"format": "prettier --write \"src/**/*.{js,css}\"\n",
"lint:yaml": "yamllint ./.github/workflows/*.yml"
},
"author": "Materials Project Team <[email protected]>",
"license": "BSD",
"dependencies": {
"@materialsproject/mp-react-components": "0.3.17",
"file-loader": "^5.1.0",
"prettier": "^1.19.1",
"process": "^0.11.10",
"ramda": "^0.26.1",
"rimraf": "^3.0.2",
"url-loader": "^3.0.0"
},
"devDependencies": {
"@babel/core": "^7.9.0",
"@babel/plugin-proposal-object-rest-spread": "^7.9.5",
"@babel/plugin-proposal-optional-chaining": "^7.16.7",
"@babel/preset-env": "^7.16.11",
"@babel/preset-react": "^7.9.4",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.1.0",
"copyfiles": "^2.2.0",
"css-loader": "^3.5.2",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-react": "^7.19.0",
"husky": "^4.2.5",
"npm": "^6.14.4",
"pretty-quick": "^2.0.1",
"prop-types": "^15.7.2",
"react": "^16.13.1",
"react-docgen": "^4.1.1",
"react-dom": "^16.13.1",
"style-loader": "^0.23.1",
"styled-jsx": "^3.2.5",
"terser-webpack-plugin": "^5.3.1",
"webpack": "^5.72.0",
"webpack-bundle-analyzer": "^3.7.0",
"webpack-cli": "^4.9.2",
"webpack-serve": "3.1.0",
"yaml-lint": "^1.2.4"
},
"engines": {
"node": ">=12.12.0",
"npm": ">=6.5.0"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
},
"publishConfig": {
"access": "public"
}
}