-
Notifications
You must be signed in to change notification settings - Fork 65
/
Copy pathpackage.json
139 lines (139 loc) · 4.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
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": "@playcanvas/pcui",
"version": "5.1.0",
"author": "PlayCanvas <[email protected]>",
"homepage": "https://playcanvas.github.io/pcui",
"description": "User interface component library for the web",
"keywords": [
"components",
"css",
"dom",
"html",
"javascript",
"pcui",
"playcanvas",
"react",
"sass",
"typescript",
"ui"
],
"license": "MIT",
"main": "dist/module/src/index.mjs",
"types": "types/index.d.ts",
"exports": {
".": {
"types": "./types/index.d.ts",
"import": "./dist/module/src/index.mjs"
},
"./react": {
"types": "./react/types/index.d.ts",
"import": "./react/dist/module/src/index.mjs"
},
"./styles": {
"import": "./styles/dist/index.mjs"
}
},
"type": "module",
"bugs": {
"url": "https://github.com/playcanvas/pcui/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/playcanvas/pcui.git"
},
"files": [
"dist",
"types",
"react/dist",
"react/types",
"react/package.json",
"styles"
],
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"dependencies": {
"@playcanvas/observer": "^1.5.1"
},
"devDependencies": {
"@babel/preset-env": "7.26.0",
"@babel/preset-react": "7.26.3",
"@babel/preset-typescript": "7.26.0",
"@playcanvas/eslint-config": "2.0.8",
"@rollup/plugin-node-resolve": "16.0.0",
"@rollup/plugin-replace": "6.0.2",
"@rollup/plugin-typescript": "12.1.2",
"@storybook/addon-essentials": "8.4.7",
"@storybook/addon-webpack5-compiler-swc": "2.0.0",
"@storybook/react": "8.4.7",
"@storybook/react-webpack5": "8.4.7",
"@types/estree": "1.0.6",
"@types/react": "19.0.7",
"@types/react-dom": "19.0.3",
"@typescript-eslint/eslint-plugin": "8.20.0",
"@typescript-eslint/parser": "8.20.0",
"autoprefixer": "10.4.20",
"concurrently": "9.1.2",
"cross-env": "7.0.3",
"css-loader": "7.1.2",
"eslint": "9.18.0",
"eslint-import-resolver-typescript": "3.7.0",
"global-jsdom": "26.0.0",
"globals": "15.14.0",
"jsdom": "26.0.0",
"playcanvas": "2.3.3",
"postcss": "8.5.1",
"prop-types": "15.8.1",
"publint": "0.3.2",
"rollup": "4.30.1",
"rollup-plugin-sass": "1.15.0",
"sass-loader": "16.0.4",
"scss-bundle": "3.1.2",
"serve": "14.2.4",
"storybook": "8.4.7",
"style-loader": "4.0.0",
"stylelint": "16.13.1",
"stylelint-config-standard-scss": "14.0.0",
"typedoc": "0.27.6",
"typedoc-plugin-mdn-links": "4.0.8",
"typescript": "5.7.3"
},
"peerDependencies": {
"react": "^18.3.1 || ^19.0.0",
"react-dom": "^18.3.1 || ^19.0.0"
},
"scripts": {
"build": "rollup -c && npm run bundle:styles",
"build:es6": "rollup -c --environment target:es6",
"build:icons": "cd ./utils && node ./build-font-icons.mjs",
"build:react:es6": "rollup -c --environment target:react:es6",
"build:storybook": "cross-env ENVIRONMENT=production storybook build -o storybook",
"build:styles": "rollup -c --environment target:styles",
"build:types": "tsc --project ./tsconfig.json --declaration --emitDeclarationOnly --outDir types && tsc --project ./react/tsconfig.json --declaration --emitDeclarationOnly --outDir ./react/types",
"bundle:styles": "scss-bundle -e ./src/scss/pcui-theme-grey.scss -o ./dist/pcui-theme-grey.scss && scss-bundle -e ./src/scss/pcui-theme-green.scss -o ./dist/pcui-theme-green.scss",
"develop": "cross-env concurrently --kill-others \"npm run watch\" \"npm run serve\"",
"docs": "typedoc",
"lint": "eslint src",
"lint:package": "publint",
"lint:styles": "stylelint src/**/*.scss",
"serve": "serve",
"storybook": "storybook dev -p 9000",
"test": "node --test",
"watch": "rollup -c -w",
"watch:es6": "rollup -c -w --environment target:es6",
"watch:react:es6": "rollup -c -w --environment target:react:es6",
"watch:styles": "rollup -c -w --environment target:styles"
},
"engines": {
"node": ">=18.0.0"
}
}