-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpackage.json
133 lines (133 loc) · 4.67 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
{
"name": "react-dnd-ax",
"version": "1.2.7",
"description": "React drag and drop HOC with accessibility and keyboard actions support.",
"main": "dist/commonjs/index.js",
"jsnext:main": "dist/es6/index.js",
"author": "Ethan Li, Viking Zhang",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/blackboard/react-dnd-ax.git"
},
"dependencies": {
"classnames": "^2.2.5",
"lodash.debounce": "^4.0.8"
},
"peerDependencies": {
"react": "^15.6.1 || ^16.0.0 || ^17.0.0",
"react-dom": "^15.6.1 || ^16.0.0 || ^17.0.0"
},
"devDependencies": {
"@storybook/react": "3.1.7",
"argv": "0.0.2",
"autoprefixer": "7.1.0",
"babel-cli": "6.24.1",
"babel-core": "6.24.1",
"babel-eslint": "7.2.3",
"babel-jest": "20.0.3",
"babel-loader": "7.0.0",
"babel-plugin-transform-object-assign": "6.22.0",
"babel-plugin-transform-runtime": "6.23.0",
"babel-preset-es2015": "6.24.1",
"babel-preset-es2015-rollup": "3.0.0",
"babel-preset-react": "6.24.1",
"babel-preset-react-app": "3.0.0",
"babel-preset-stage-0": "6.24.1",
"babel-preset-stage-1": "6.24.1",
"babel-runtime": "6.23.0",
"case-sensitive-paths-webpack-plugin": "1.1.4",
"chalk": "1.1.3",
"cross-env": "5.0.1",
"css-loader": "0.28.1",
"dotenv": "4.0.0",
"eslint": "3.19.0",
"eslint-config-react-app": "1.0.4",
"eslint-loader": "1.7.1",
"eslint-plugin-flowtype": "2.33.0",
"eslint-plugin-import": "2.2.0",
"eslint-plugin-jsx-a11y": "5.0.3",
"eslint-plugin-react": "7.0.1",
"extract-text-webpack-plugin": "2.1.0",
"file-loader": "0.11.1",
"fs-extra": "3.0.1",
"html-webpack-plugin": "2.28.0",
"jest": "20.0.3",
"node-sass-chokidar": "0.0.3",
"npm-run-all": "4.0.2",
"object-assign": "4.1.1",
"postcss-flexbugs-fixes": "3.0.0",
"postcss-loader": "2.0.5",
"promise": "7.1.1",
"react": "15.6.1",
"react-dev-utils": "3.1.2",
"react-dom": "15.6.1",
"react-error-overlay": "1.0.7",
"react-fa": "4.2.0",
"rimraf": "2.6.1",
"sass-loader": "6.0.6",
"style-loader": "0.17.0",
"sw-precache-webpack-plugin": "0.9.1",
"test-npm-upload": "1.0.6",
"url-loader": "0.5.8",
"webpack": "2.6.1",
"webpack-dev-server": "3.1.11",
"webpack-manifest-plugin": "1.1.0",
"whatwg-fetch": "2.0.3"
},
"scripts": {
"build-css": "node-sass-chokidar src/ -o src/",
"watch-css": "npm run build-css && node-sass-chokidar src/ -o src/ --watch --recursive",
"start-dev": "node scripts/start.js",
"start": "npm-run-all -p watch-css start-dev",
"build-script": "node scripts/build.js",
"npm:build": "npm run build-css && build-script",
"storybook": "start-storybook -p 9001 -c .storybook",
"demo:build": "build-storybook -c .storybook -o docs",
"demo:build-temp": "build-storybook -c .storybook -o ../react-dnd-ax-demo/docs",
"test": "node scripts/test.js --env=jsdom",
"build": "npm run build:commonjs && npm run build:es6 && npm run build:umd && npm run npm:css",
"build:commonjs": "npm run clean:commonjs && cross-env BABEL_ENV=commonjs babel src/react-dnd-ax --out-dir dist/commonjs --ignore *.example.js,*.test.js",
"build:es6": "npm run clean:es6 && cross-env BABEL_ENV=es6 BABEL_DISABLE_CACHE=1 babel src/react-dnd-ax --out-dir dist/es6 --ignore *.test.js",
"build:umd": "cross-env NODE_ENV=production webpack --config webpack.config.umd.js --env.default && cross-env NODE_ENV=production webpack --config webpack.config.umd.js --env.compress",
"npm:clean": "rimraf dist",
"clean:umd": "rimraf dist/umd",
"clean:es6": "rimraf dist/es6",
"clean:commonjs": "rimraf dist/commonjs",
"npm:css": "cp src/react-dnd-ax/react-dnd-ax.css dist/commonjs && cp src/react-dnd-ax/react-dnd-ax.css dist/es6",
"npm:publish": "npm run build && npm version patch && npm publish"
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx}"
],
"setupFiles": [
"<rootDir>/config/polyfills.js"
],
"testMatch": [
"<rootDir>/src/**/__tests__/**/*.js?(x)",
"<rootDir>/src/**/?(*.)(spec|test).js?(x)"
],
"testEnvironment": "node",
"testURL": "http://localhost",
"transform": {
"^.+\\.(js|jsx)$": "<rootDir>/node_modules/babel-jest",
"^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
"^(?!.*\\.(js|jsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
},
"transformIgnorePatterns": [
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx)$"
],
"moduleNameMapper": {
"^react-native$": "react-native-web"
}
},
"babel": {
"presets": [
"react-app"
]
},
"eslintConfig": {
"extends": "react-app"
}
}