immutable 3.8.2 → 4.0.0-rc.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "immutable",
3
- "version": "3.8.2",
3
+ "version": "4.0.0-rc.12",
4
4
  "description": "Immutable Data Collections",
5
5
  "license": "MIT",
6
6
  "homepage": "https://facebook.github.com/immutable-js",
@@ -16,79 +16,96 @@
16
16
  "url": "https://github.com/facebook/immutable-js/issues"
17
17
  },
18
18
  "main": "dist/immutable.js",
19
+ "module": "dist/immutable.es.js",
19
20
  "typings": "dist/immutable-nonambient.d.ts",
20
21
  "typescript": {
21
22
  "definition": "dist/immutable.d.ts"
22
23
  },
23
24
  "scripts": {
24
- "build": "grunt default && gulp default",
25
- "lint": "eslint src/ && grunt lint && gulp lint",
26
- "testonly": "./resources/node_test.sh",
27
- "test": "npm run lint && npm run testonly",
25
+ "build": "run-s build:*",
26
+ "build:dist": "run-s clean:dist bundle:dist bundle:es copy:dist stats:dist",
27
+ "build:pages": "gulp --gulpfile ./resources/gulpfile.js default",
28
+ "stats:dist": "node ./resources/dist-stats.js",
29
+ "clean:dist": "rimraf dist",
30
+ "bundle:dist": "rollup -c ./resources/rollup-config.js",
31
+ "bundle:es": "rollup -c ./resources/rollup-config-es.js",
32
+ "copy:dist": "node ./resources/copy-dist-typedefs.js",
33
+ "lint": "run-s lint:*",
34
+ "lint:ts": "tslint \"__tests__/**/*.ts\"",
35
+ "lint:js": "eslint \"{__tests__,src,pages/src,pages/lib}/**/*.js\"",
36
+ "format": "prettier --single-quote --trailing-comma=es5 --write \"{__tests__,src,pages/src,pages/lib,perf,resources}/**/*{\\.js,\\.ts}\"",
37
+ "testonly": "./resources/jest",
38
+ "test": "run-s format build lint testonly test:types:*",
39
+ "test:travis": "npm run test && ./resources/check-changes",
40
+ "test:types:ts": "tsc ./type-definitions/Immutable.d.ts --lib es2015 && dtslint type-definitions/ts-tests",
41
+ "test:types:flow": "flow check type-definitions/tests --include-warnings",
28
42
  "perf": "node ./resources/bench.js",
29
- "start": "npm run build && node ./pages/resources/start.js",
30
- "deploy": "(cd ./pages/out && git init && git config user.name \"Travis CI\" && git config user.email \"github@fb.com\" && git add . && git commit -m \"Deploy to GitHub Pages\" && git push --force --quiet \"https://${GH_TOKEN}@github.com/facebook/immutable-js.git\" master:gh-pages > /dev/null 2>1)"
43
+ "start": "gulp --gulpfile ./resources/gulpfile.js dev",
44
+ "deploy": "./resources/deploy-ghpages.sh",
45
+ "gitpublish": "./resources/gitpublish.sh"
31
46
  },
32
47
  "jest": {
33
- "scriptPreprocessor": "resources/jestPreprocessor.js",
34
- "testFileExtensions": [
48
+ "moduleFileExtensions": [
35
49
  "js",
36
50
  "ts"
37
51
  ],
38
- "persistModuleRegistryBetweenSpecs": true
52
+ "transform": {
53
+ "^.+\\.ts$": "<rootDir>/resources/jestPreprocessor.js"
54
+ },
55
+ "testRegex": "/__tests__/.*\\.(ts|js)$",
56
+ "unmockedModulePathPatterns": [
57
+ "./node_modules/react"
58
+ ]
39
59
  },
40
60
  "devDependencies": {
41
- "acorn": "0.11.x",
42
- "babel-eslint": "^4.1.8",
43
- "benchmark": "^1.0.0",
44
- "bluebird": "3.1.1",
45
- "browser-sync": "2.11.0",
46
- "browserify": "^5.11.2",
47
- "colors": "1.1.2",
48
- "del": "2.2.0",
49
- "es6-transpiler": "0.7.18",
50
- "eslint": "^1.10.3",
51
- "estraverse": "1.9.3",
52
- "express": "^4.13.4",
53
- "fbjs-scripts": "^0.5.0",
54
- "grunt": "0.4.5",
55
- "grunt-cli": "0.1.13",
56
- "grunt-contrib-clean": "0.7.0",
57
- "grunt-contrib-copy": "0.8.2",
58
- "grunt-contrib-jshint": "0.11.3",
59
- "grunt-release": "0.13.0",
60
- "gulp": "3.9.0",
61
- "gulp-concat": "2.6.0",
62
- "gulp-filter": "3.0.1",
63
- "gulp-header": "1.7.1",
64
- "gulp-jest": "^0.2.1",
65
- "gulp-jshint": "^1.8.4",
66
- "gulp-less": "3.0.5",
67
- "gulp-size": "2.0.0",
68
- "gulp-sourcemaps": "1.6.0",
69
- "gulp-uglify": "1.5.1",
70
- "gulp-util": "3.0.7",
71
- "harmonize": "1.4.4",
72
- "jasmine-check": "^0.1.2",
73
- "jest-cli": "^0.5.10",
74
- "jshint-stylish": "^0.4.0",
75
- "magic-string": "0.10.2",
76
- "marked": "0.3.5",
77
- "microtime": "^2.0.0",
78
- "node-jsx": "^0.12.4",
61
+ "benchmark": "2.1.4",
62
+ "browser-sync": "^2.26.3",
63
+ "browserify": "16.2.2",
64
+ "colors": "1.2.5",
65
+ "del": "3.0.0",
66
+ "dtslint": "0.1.2",
67
+ "eslint": "4.19.1",
68
+ "eslint-config-airbnb": "16.1.0",
69
+ "eslint-config-prettier": "2.9.0",
70
+ "eslint-plugin-import": "2.12.0",
71
+ "eslint-plugin-jsx-a11y": "6.0.3",
72
+ "eslint-plugin-prettier": "2.6.2",
73
+ "eslint-plugin-react": "7.8.2",
74
+ "flow-bin": "0.85.0",
75
+ "gulp": "3.9.1",
76
+ "gulp-concat": "2.6.1",
77
+ "gulp-filter": "5.1.0",
78
+ "gulp-header": "2.0.5",
79
+ "gulp-less": "3.5.0",
80
+ "gulp-size": "3.0.0",
81
+ "gulp-sourcemaps": "2.6.4",
82
+ "gulp-uglify": "2.1.0",
83
+ "gulp-util": "3.0.8",
84
+ "jasmine-check": "0.1.5",
85
+ "jest": "23.6.0",
86
+ "marked": "0.3.19",
87
+ "microtime": "2.1.8",
88
+ "mkdirp": "0.5.1",
89
+ "npm-run-all": "4.1.3",
90
+ "prettier": "1.14.2",
79
91
  "react": "^0.12.0",
80
92
  "react-router": "^0.11.2",
81
- "react-tools": "^0.12.0",
82
- "rollup": "0.24.0",
83
- "run-sequence": "1.1.5",
84
- "through2": "2.0.0",
85
- "typescript": "1.7.5",
86
- "uglify-js": "2.6.1",
87
- "vinyl-buffer": "1.0.0",
88
- "vinyl-source-stream": "1.1.0"
89
- },
90
- "engines": {
91
- "node": ">=0.10.0"
93
+ "react-tools": "0.13.3",
94
+ "rimraf": "2.6.2",
95
+ "rollup": "0.59.1",
96
+ "rollup-plugin-buble": "0.19.2",
97
+ "rollup-plugin-commonjs": "9.1.3",
98
+ "rollup-plugin-json": "3.0.0",
99
+ "rollup-plugin-strip-banner": "0.2.0",
100
+ "run-sequence": "2.2.1",
101
+ "through2": "2.0.3",
102
+ "transducers-js": "^0.4.174",
103
+ "tslint": "5.7.0",
104
+ "typescript": "3.0.3",
105
+ "uglify-js": "2.8.11",
106
+ "uglify-save-license": "0.4.1",
107
+ "vinyl-buffer": "1.0.1",
108
+ "vinyl-source-stream": "2.0.0"
92
109
  },
93
110
  "files": [
94
111
  "dist",
@@ -107,5 +124,6 @@
107
124
  "stateless",
108
125
  "sequence",
109
126
  "iteration"
110
- ]
127
+ ],
128
+ "dependencies": {}
111
129
  }