forked from fibo/trunx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
93 lines (93 loc) · 3.16 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
{
"name": "trunx",
"version": "0.42.0",
"description": "Super Saiyan React components, son of awesome Bulma, implemented in TypeScript",
"type": "module",
"main": "component/index.js",
"files": [
"component"
],
"scripts": {
"build": "run-s build:lib build:docs",
"build:docs": "run-p generate_docs_bundle_js generate_docs_style generate_pages generate_sitemap",
"build:lib": "npm run tsc",
"eslint": "eslint --ext .ts,.tsx,.js,.jsx .",
"generate_docs_bundle_js": "cross-env NODE_ENV=production browserify src/docs/index.js -t babelify -g [ envify --NODE_ENV production ] -g uglifyify | terser --compress --mangle > docs/bundle.js",
"generate_docs_style": "sass src/docs/sass/style.scss docs/style.css --load-path node_modules --style compressed --no-source-map",
"generate_pages": "node src/npm-scripts/generatePages.js",
"generate_sitemap": "node src/npm-scripts/generateSitemap.js",
"lint-staged": "lint-staged",
"postversion": "git push origin v${npm_package_version}; npm publish; git push origin main",
"pretsc": "rimraf component",
"start": "budo src/docs/index.js --dir docs --serve bundle.js --open --live --pushstate -- -t babelify",
"test": "run-p test:*",
"test:bulma-version": "node test/bulma-version.js",
"test:className-prop": "tsc --jsx react --noEmit --lib dom,es2015 test/className-prop.tsx",
"test:fallbackUI-prop": "tsc --jsx react --noEmit --lib dom,es2015 test/fallbackUI-prop.tsx",
"test:no-prop-is-required": "tsc --jsx react --noEmit --lib dom,es2015 test/no-prop-is-required.tsx",
"test:props-are-exported": "tsc --jsx react --noEmit --lib dom,es2015 test/props-are-exported.ts",
"test:types": "tsc --declaration --project . --noemit",
"tsc": "tsc --declaration --project ."
},
"lint-staged": {
"**/*.{js,scss,ts,tsx}": [
"prettier --write"
],
"*.{json,md}": "prettier --write"
},
"pre-commit": [
"lint-staged",
"test"
],
"repository": {
"type": "git",
"url": "git+https://github.com/fibo/trunx.git"
},
"keywords": [
"react",
"bulma",
"component",
"components",
"typescript"
],
"author": {
"name": "Gianluca Casati",
"url": "http://g14n.info"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/fibo/trunx/issues"
},
"homepage": "https://trunx.dev",
"peerDependencies": {
"react": "17.x||18.x"
},
"devDependencies": {
"@types/classnames": "^2.2.11",
"@types/react": "^18.0.12",
"@types/react-dom": "^18.0.5",
"@typescript-eslint/eslint-plugin": "^4.17.0",
"@typescript-eslint/parser": "^4.17.0",
"babel-eslint": "^10.1.0",
"dot-editorconfig": "^1.1.1",
"eslint": "^7.21.0",
"fa-svg-icon": "^0.3.0",
"lint-staged": "^10.5.4",
"npm-run-all": "^4.1.2",
"pre-commit": "^1.2.2",
"react-router-dom": "^5.2.0",
"react-syntax-highlighter": "^8.0.1",
"read-file-utf8": "^2.0.4",
"rimraf": "^3.0.2",
"sass": "^1.35.1",
"standard": "^16.0.3",
"typescript": "^4.7.3",
"write-file-utf8": "^2.0.1",
"zeroconf-redux": "^5.10.0"
},
"dependencies": {
"bulma": "^0.9.4",
"classnames": "^2.3.1",
"tslib": "^2.4.0"
}
}