-
Notifications
You must be signed in to change notification settings - Fork 43
/
package.json
114 lines (114 loc) · 3.82 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
{
"name": "axui-datagrid",
"version": "0.15.2",
"description": "DataGrid, DataSheet for React",
"jsnext:main": "dist/es6/index.js",
"module": "dist/es6/index.js",
"main": "dist/commonjs/index.js",
"repository": "https://github.com/jsdevkr/axui-datagrid",
"website": "http://axui-datagrid.jsdev.kr",
"author": "[email protected]",
"license": "MIT",
"keywords": [
"datagrid, react-datagrid, react-component, typescript"
],
"devDependencies": {
"@types/jest": "^23.3.1",
"@types/node": "^10.9.4",
"@types/react": "^16.7.7",
"@types/react-dom": "^16.0.5",
"@types/react-router": "^4.0.25",
"@types/react-router-dom": "^4.2.6",
"@types/react-syntax-highlighter": "0.0.6",
"@types/react-test-renderer": "^16.0.1",
"@types/styled-components": "^4.1.0",
"antd": "^3.9.0",
"axios": "^0.18.0",
"axui-contextmenu": "^0.4.0",
"babel-polyfill": "^6.26.0",
"babel-preset-env": "^1.7.0",
"better-npm-run": "^0.1.0",
"enzyme": "^3.5.0",
"enzyme-adapter-react-16": "^1.3.1",
"file-loader": "^2.0.0",
"history": "^4.7.2",
"jest": "^23.5.0",
"jsonfile": "^5.0.0",
"less": "^3.5.3",
"less-loader": "^4.1.0",
"ncp": "^2.0.0",
"node-sass": "^4.8.3",
"raw-loader": "^1.0.0",
"react": "^16.8.6",
"react-app-rewire-hot-loader": "^1.0.1",
"react-app-rewired": "^1.6.2",
"react-dom": "^16.8.6",
"react-github-button": "^0.1.11",
"react-hot-loader": "^4.3.5",
"react-router": "^4.2.0",
"react-router-dom": "^4.2.2",
"react-scripts-ts": "^3.1.0",
"react-syntax-highlighter": "^8.0.1",
"react-test-renderer": "^16.4.1",
"rimraf": "^2.6.3",
"sass-loader": "^7.0.1",
"styled-components": "^4.1.2",
"tslint-config-prettier": "^1.15.0",
"typescript": "^3.4.5",
"typescript-styled-plugin": "^0.13.0"
},
"scripts": {
"start": "react-app-rewired start --scripts-version react-scripts-ts",
"build": "better-npm-run build:common && better-npm-run build:es5 && better-npm-run build:es6",
"docs": "react-app-rewired build --scripts-version react-scripts-ts && rimraf ./docs && mv build ./docs && ncp ./src/CNAME ./docs/CNAME && ncp ./src/404.html ./docs/404.html && git add -A",
"test": "NODE_ENV=test jest",
"test-watch": "NODE_ENV=test jest --watch",
"prepublish": "npm run build",
"publish:patch": "cd src && npm version patch && cd .. && node ./scripts/syncVersion.js && npm run docs",
"publish:minor": "cd src && npm version minor && cd .. && node ./scripts/syncVersion.js && npm run docs"
},
"betterScripts": {
"build:common": "node-sass ./src/axui-datagrid/style.scss dist/style.css --output-style compressed && rimraf ./dist/scss && ncp ./src/axui-datagrid/style.scss ./dist/style.scss && ncp ./src/axui-datagrid/scss ./dist/scss && ncp ./README.md ./dist/README.md",
"build:es5": "rimraf ./dist/commonjs && tsc --p tsconfig.es5.json",
"build:es6": "rimraf ./dist/es6 && tsc --p tsconfig.es6.json"
},
"jest": {
"globals": {
"ts-jest": {
"tsConfigFile": "tsconfig.json",
"useBabelrc": true
}
},
"collectCoverageFrom": [
"<rootDir>/test/**/*.{js,jsx,ts,tsx}",
"!<rootDir>/.tsOutput/"
],
"setupFiles": [
"./tests/test-shim.js",
"./tests/test-setup.js"
],
"transform": {
"^.+\\.tsx?$": "ts-jest",
"^.+\\.jsx?$": "babel-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"testPathIgnorePatterns": [
"/.tsOutput/"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"modulePaths": [
"src"
],
"moduleDirectories": [
"node_modules",
"src"
]
}
}