-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
53 lines (53 loc) · 1.74 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
{
"name": "@axframe/contextmenu",
"version": "0.3.5",
"jsnext:main": "dist/es6/index.js",
"module": "dist/es6/index.js",
"main": "dist/commonjs/index.js",
"repository": "https://github.com/axisj/axframe-contextmenu",
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint",
"build:common": "lessc @axframe-contextmenu/style.less dist/style.css && rimraf ./dist/scss && ncp @axframe-contextmenu/style.less ./dist/style.less && ncp @axframe-contextmenu/less ./dist/less && ncp @axframe-contextmenu/style.scss ./dist/style.scss && ncp @axframe-contextmenu/scss ./dist/scss",
"build:es5": "rimraf ./dist/commonjs && tsc --p tsconfigs/tsconfig.es5.json",
"build:es6": "rimraf ./dist/es6 && tsc --p tsconfigs/tsconfig.es6.json",
"build:library": "npm run build:common && npm run build:es5 && npm run build:es6",
"prepublishOnly": "npm run build:library",
"test": "jest"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --fix",
"prettier --write"
]
},
"dependencies": {
"react": "^17.0.2",
"react-dom": "^17.0.2"
},
"devDependencies": {
"@emotion/styled": "^11.10.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^12.1.5",
"@types/node": "18.7.13",
"@types/react": "^17.0.48",
"@types/react-dom": "^17.0.17",
"antd": "^4.22.8",
"eslint": "8.22.0",
"eslint-config-next": "12.2.5",
"jest": "^29.0.1",
"jest-environment-jsdom": "^29.0.1",
"less": "^4.1.3",
"ncp": "^2.0.0",
"next": "^12.2.5",
"next-with-less": "^2.0.5",
"prettier": "^2.7.1",
"typescript": "4.8.2"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
}
}