Skip to content

Commit be00a97

Browse files
Maxime TylerRemon Oldenbeuving
Maxime Tyler
authored and
Remon Oldenbeuving
committed
remove old references to browserify, reactify
1 parent 4f91637 commit be00a97

File tree

3 files changed

+3
-65
lines changed

3 files changed

+3
-65
lines changed

grunt/tasks/browserify.js

Lines changed: 0 additions & 25 deletions
This file was deleted.

gruntfile.js

Lines changed: 3 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ module.exports = function(grunt) {
4141

4242
watch: {
4343
jshint: {
44-
files: 'src/**/*.js',
44+
files: ['src/**/*.js', 'src/**/*.jsx'],
4545
tasks: ['jshint']
4646
},
4747

@@ -55,8 +55,8 @@ module.exports = function(grunt) {
5555
tasks: ['sass']
5656
},
5757

58-
browserify: {
59-
files: ['src/**/*.js'],
58+
webpack: {
59+
files: ['src/**/*.js', 'src/**/*.jsx'],
6060
tasks: ['browserify']
6161
}
6262
},
@@ -66,28 +66,6 @@ module.exports = function(grunt) {
6666
options: {
6767
config: '.scss-lint.yml',
6868
colorizeOutput: true
69-
},
70-
},
71-
72-
browserify: {
73-
all: {
74-
dest: 'react-datepicker.js',
75-
transform: [
76-
'reactify',
77-
'browserify-shim'
78-
],
79-
browserifyOptions: {
80-
entries: './src/datepicker.js',
81-
standalone: 'DatePicker',
82-
bundleExternal: false
83-
}
84-
},
85-
86-
example : {
87-
dest: 'example/bundle.js',
88-
browserifyOptions: {
89-
entries: './example/boot.jsx'
90-
}
9169
}
9270
},
9371

@@ -129,6 +107,5 @@ module.exports = function(grunt) {
129107
grunt.registerTask('travis', ['jshint', 'jest', 'scsslint']);
130108
grunt.registerTask('build', ['jshint', 'scsslint', 'webpack', 'sass']);
131109

132-
grunt.registerMultiTask('browserify', require('./grunt/tasks/browserify'));
133110
grunt.registerTask('jest', require('./grunt/tasks/jest'));
134111
};

package.json

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@
2323
"devDependencies": {
2424
"babel-core": "^4.7.3",
2525
"babel-loader": "^4.1.0",
26-
"browserify": "9.0.3",
27-
"browserify-shim": "3.8.3",
2826
"grunt": "0.4.5",
2927
"grunt-cli": "0.1.13",
3028
"grunt-contrib-sass": "0.9.2",
@@ -35,8 +33,6 @@
3533
"jest-cli": "0.4.0",
3634
"lodash": "^3.3.0",
3735
"react": "^0.12",
38-
"react-tools": "0.12.2",
39-
"reactify": "^1.0",
4036
"webpack": "^1.7.2",
4137
"webpack-dev-server": "^1.7.0"
4238
},
@@ -51,16 +47,6 @@
5147
"scripts": {
5248
"test": "grunt travis --verbose"
5349
},
54-
"browserify": {
55-
"transform": [
56-
"reactify"
57-
]
58-
},
59-
"browserify-shim": {
60-
"react/addons": "global:React",
61-
"moment": "global:moment",
62-
"react-onclickoutside": "global:OnClickOutside"
63-
},
6450
"jest": {
6551
"testDirectoryName": "test",
6652
"scriptPreprocessor": "<rootDir>/jestPreprocessor.js",

0 commit comments

Comments
 (0)