-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.json
99 lines (99 loc) · 3.75 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
{
"name": "zotero-www-components",
"version": "0.1.1",
"description": "React components for zotero.org that are not the web library",
"main": "lib/www-components.js",
"scripts": {
"start": "run-p 'php-server' 'watchify' 'watch:scss'",
"php-server": "php -c demo/php.ini -S 0.0.0.0:8000 > phpd.log 2>&1 & echo \"server running at http://localhost:8000/demo/\n\"",
"watchify": "watchify src/js/web-components.js -d -v -t [babelify] -p mapstraction -g [ envify --NODE_ENV development ] -o build/web-components.js",
"prepack": "npm run build",
"postpack": "rimraf lib && rimraf build",
"clean": "rimraf build",
"build": "rimraf lib/* && rimraf build/* && run-p browserify build:node build:scss && npm run build:postprocess",
"build:node": "mkdir -p lib/ && cd src/js && babel *.js -d ../lib",
"build:postprocess": "postcss build/web-components.css --use autoprefixer --no-map -r",
"browserify": "mkdir -p build/ && NODE_ENV=production browserify --extension=.jsx -d src/js/web-components.js -v -t [babelify] -g [ envify --NODE_ENV production ] -g uglifyify | uglifyjs --compress --mangle > build/web-components.js",
"build:scss": "sass --no-source-map src/scss/entry_build.scss build/web-components.css",
"devbuild:scss": "run-s devbuild:scss:build devbuild:scss:post",
"devbuild:scss:build": "sass --embed-source-map src/scss/entry_dev.scss build/web-components.css",
"devbuild:scss:post": "postcss build/*.css --use autoprefixer -r",
"watch:scss": "nodemon -q -w src/scss --ext 'scss' --exec 'npm run devbuild:scss'",
"eslint": "eslint \"src/js/**/*.+(js|jsx)\" || true",
"stylelint": "stylelint src/scss/**/*.scss || true"
},
"stylelint": {
"extends": [
"stylelint-config-standard",
"stylelint-config-recommended-scss"
],
"rules": {
"max-empty-lines": null,
"indentation": null
}
},
"keywords": [
"Zotero"
],
"author": "Faolan C-P",
"license": "AGPL-3.0",
"devDependencies": {
"@babel/core": "^7.15.0",
"@babel/plugin-proposal-class-properties": "^7.14.5",
"@babel/plugin-proposal-object-rest-spread": "^7.14.7",
"@babel/plugin-transform-async-to-generator": "^7.14.5",
"@babel/plugin-transform-modules-commonjs": "^7.15.0",
"@babel/plugin-transform-runtime": "^7.15.0",
"@babel/preset-env": "^7.15.0",
"@babel/preset-react": "^7.14.5",
"@babel/register": "^7.15.3",
"autoprefixer": "^10.4.2",
"babelify": "^10.0.0",
"browserify": "^16.5.2",
"chai": "^4.3.4",
"del": "^2.2.0",
"envify": "^4.1.0",
"eslint-plugin-react": "^7.25.1",
"eslint-plugin-react-hooks": "^4.2.0",
"mapstraction": "^1.0.1",
"mocha": "^9.2.0",
"sass": "^1.49.9",
"nodemon": "^2.0.12",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.6",
"postcss-cli": "^9.1.0",
"react-json-tree": "^0.11.2",
"react-radio-group": "^3.0.3",
"rimraf": "^2.7.1",
"run-sequence": "^2.2.1",
"stylelint": "^14.3.0",
"stylelint-config-recommended-scss": "^5.0.2",
"stylelint-config-standard": "^20.0.0",
"stylelint-scss": "^4.1.0",
"uglify-js": "^3.14.1",
"uglifyify": "^5.0.2",
"watchify": "^4.0.0"
},
"dependencies": {
"@babel/cli": "^7.14.8",
"@babel/eslint-parser": "^7.15.0",
"@babel/polyfill": "^7.12.1",
"@babel/runtime": "^7.15.3",
"classnames": "^2.3.1",
"copy-to-clipboard": "^3.3.1",
"eslint": "^7.32.0",
"picturefill": "^3.0.3",
"prop-types": "^15.7.2",
"react": "^16.14.0",
"react-dom": "^16.14.0",
"react-tabs": "^2.3.1",
"striptags": "^3.2.0",
"velocity-react": "^1.4.3",
"whatwg-fetch": "^2.0.4",
"zotero-publications": "^0.6.2"
},
"repository": {
"type": "git",
"url": "git+https://github.com/zotero/web-components.git"
}
}