gwchq-textjam 0.1.14 → 0.1.16

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.
Files changed (3) hide show
  1. package/README.md +0 -3
  2. package/dist/index.js +337391 -337192
  3. package/package.json +7 -3
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "gwchq-textjam",
3
3
  "description": "Embeddable React editor used in Raspberry Pi text-based projects.",
4
- "version": "0.1.14",
4
+ "version": "0.1.16",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://github.com/GirlsFirst/gwchq-textjam",
7
7
  "author": "Girls Who Code HQ",
@@ -15,7 +15,6 @@
15
15
  "scripts": {
16
16
  "start": "NODE_ENV=development BABEL_ENV=development webpack serve -c ./webpack.config.js",
17
17
  "build:lib": "npm run clean && NODE_ENV=production BABEL_ENV=production webpack --config webpack.lib.config.js",
18
- "prepublishOnly": "yarn build:lib",
19
18
  "clean": "rimraf dist",
20
19
  "lint": "eslint \"src/**/*.{js,jsx,json}\"",
21
20
  "lint:fix": "eslint --fix \"src/**/*.{js,jsx,json}\"",
@@ -253,7 +252,12 @@
253
252
  "modulePaths": [],
254
253
  "moduleNameMapper": {
255
254
  "^react-native$": "react-native-web",
256
- "^.+\\.module\\.(css|sass|scss)$": "identity-obj-proxy"
255
+ "^.+\\.module\\.(css|sass|scss)$": "identity-obj-proxy",
256
+ "^types/(.*)$": "<rootDir>/src/types/$1",
257
+ "^utils/(.*)$": "<rootDir>/src/utils/$1",
258
+ "^components/(.*)$": "<rootDir>/src/components/$1",
259
+ "^assets/(.*)$": "<rootDir>/src/assets/$1",
260
+ "^store/(.*)$": "<rootDir>/src/redux/$1"
257
261
  },
258
262
  "moduleFileExtensions": [
259
263
  "web.js",