@financial-times/n-myft-ui 25.0.0 → 25.0.1
Sign up to get free protection for your applications and to get access to all the features.
- package/.circleci/config.yml +0 -3
- package/README.md +0 -51
- package/build-state/npm-shrinkwrap.json +0 -442
- package/components/collections/collections.html +77 -0
- package/components/concept-list/concept-list.html +28 -0
- package/components/follow-button/__tests__/follow-button.test.js +3 -3
- package/components/follow-button/follow-button.jsx +3 -3
- package/components/pin-button/pin-button.html +20 -0
- package/components/save-for-later/save-for-later.html +67 -0
- package/demos/app.js +4 -2
- package/demos/templates/demo.html +7 -7
- package/demos/templates/demo.jsx +1 -93
- package/package.json +3 -7
- package/components/collections/collections.jsx +0 -68
- package/components/collections/collections.test.js +0 -83
- package/components/concept-list/concept-list.jsx +0 -55
- package/components/concept-list/concept-list.test.js +0 -116
- package/components/index.js +0 -15
- package/components/pin-button/pin-button.jsx +0 -40
- package/components/pin-button/pin-button.test.js +0 -57
- package/components/save-for-later/save-for-later.jsx +0 -103
- package/components/save-for-later/save-for-later.test.js +0 -59
- package/dist/bundles/bundle.js +0 -3133
- package/webpack.config.js +0 -34
package/webpack.config.js
DELETED
@@ -1,34 +0,0 @@
|
|
1
|
-
const path = require('path');
|
2
|
-
|
3
|
-
module.exports = {
|
4
|
-
entry: './components/index.js',
|
5
|
-
resolve: {
|
6
|
-
extensions: ['.js', '.jsx']
|
7
|
-
},
|
8
|
-
module: {
|
9
|
-
rules: [
|
10
|
-
{
|
11
|
-
test: /\.(js|jsx)$/,
|
12
|
-
exclude: /node_modules/,
|
13
|
-
use: [
|
14
|
-
{
|
15
|
-
loader: 'babel-loader',
|
16
|
-
options: {
|
17
|
-
presets: [
|
18
|
-
'react',
|
19
|
-
'stage-2'
|
20
|
-
]
|
21
|
-
}
|
22
|
-
}
|
23
|
-
]
|
24
|
-
}
|
25
|
-
]
|
26
|
-
},
|
27
|
-
target: 'node',
|
28
|
-
output: {
|
29
|
-
path: path.resolve(__dirname, 'dist/bundles'),
|
30
|
-
filename: 'bundle.js',
|
31
|
-
libraryTarget: 'umd',
|
32
|
-
library: '@financial-times/n-myft-ui'
|
33
|
-
}
|
34
|
-
};
|